Fix spelling errors in sources found by Debian lintian

This commit is contained in:
Bernhard Schmidt 2016-10-03 20:04:53 +02:00
parent 05e97ab207
commit 365c300439
11 changed files with 17 additions and 17 deletions

View File

@ -822,7 +822,7 @@ term: ANY { /* this is an unconditionally true expression, as a filter applies i
if ( $5 > (bytes*8) ) {
yyerror("Too many netbits for this IP addresss");
yyerror("Too many netbits for this IP address");
YYABORT;
}
@ -1413,7 +1413,7 @@ term: ANY { /* this is an unconditionally true expression, as a filter applies i
if ( $5 > (bytes*8) ) {
yyerror("Too many netbits for this IP addresss");
yyerror("Too many netbits for this IP address");
YYABORT;
}

View File

@ -944,7 +944,7 @@ term: ANY { /* this is an unconditionally true expression, as a filter applies i
if ( $5 > (bytes*8) ) {
yyerror("Too many netbits for this IP addresss");
yyerror("Too many netbits for this IP address");
YYABORT;
}

View File

@ -666,7 +666,7 @@ size_t size_required;
// skip exporter_sysid and reserved
offset += 4;
/* IP addresss record
/* IP address record
* This record is expected in the output stream. If not available
* in the template, assume empty v4 address.
*/

View File

@ -412,18 +412,18 @@ srecord_t *InfoRecord;
}
}
if ( child_exit ) {
syslog(LOG_INFO, "laucher child exit %d childs.", child_exit);
syslog(LOG_INFO, "launcher child exit %d children.", child_exit);
while ( (pid = waitpid (-1, &stat, WNOHANG)) > 0 ) {
if ( WIFEXITED(stat) ) {
syslog(LOG_DEBUG, "launcher child %i exit status: %i", pid, WEXITSTATUS(stat));
}
if ( WIFSIGNALED(stat) ) {
syslog(LOG_WARNING, "laucher child %i died due to signal %i", pid, WTERMSIG(stat));
syslog(LOG_WARNING, "launcher child %i died due to signal %i", pid, WTERMSIG(stat));
}
child_exit--;
}
syslog(LOG_INFO, "laucher waiting childs done. %d childs", child_exit);
syslog(LOG_INFO, "launcher waiting children done. %d children", child_exit);
child_exit = 0;
}
if ( done ) {

View File

@ -755,7 +755,7 @@ size_t size_required;
// skip exporter_sysid and reserved
offset += 4;
/* IP addresss record
/* IP address record
* This record is expected in the output stream. If not available
* in the template, assume empty v4 address.
*/

View File

@ -90,7 +90,7 @@ static void process_data(void *wfile);
static void usage(char *name) {
printf("usage %s [options] \n"
"-h\t\tthis text you see right here\n"
"-K <key>\tAnonymize IP addressses using CryptoPAn with key <key>.\n"
"-K <key>\tAnonymize IP addresses using CryptoPAn with key <key>.\n"
"-r\t\tread input from file\n"
"-M <expr>\tRead input from multiple directories.\n"
"-R <expr>\tRead input from sequence of files.\n"

View File

@ -203,7 +203,7 @@ pid_t ret;
sleep(1);
}
if ( i >= LAUNCHER_TIMEOUT ) {
LogError("Laucher does not want to terminate - signal again");
LogError("Launcher does not want to terminate - signal again");
kill(pid, SIGTERM);
sleep(1);
}
@ -708,7 +708,7 @@ srecord_t *commbuff;
if ( verbose ) {
uint16_t count = ntohs(nf_header->count);
if ( blast_cnt != count ) {
// LogError("Missmatch blast check: Expected %u got %u\n", blast_cnt, count);
// LogError("Mismatch blast check: Expected %u got %u\n", blast_cnt, count);
blast_cnt = count;
blast_failures++;
} else {

View File

@ -297,7 +297,7 @@ static void usage(char *name) {
"-M <expr>\tRead input from multiple directories.\n"
"\t\t/dir/dir1:dir2:dir3 Read the same files from '/dir/dir1' '/dir/dir2' and '/dir/dir3'.\n"
"\t\trequests either -r filename or -R firstfile:lastfile without pathnames\n"
"-m\t\tdepricated\n"
"-m\t\tdeprecated\n"
"-O <order> Sort order for aggregated flows - tstart, tend, flows, packets bps pps bbp etc.\n"
"-R <expr>\tRead input from sequence of files.\n"
"\t\t/any/dir Read all files in that directory.\n"
@ -897,7 +897,7 @@ char Ident[IDENTLEN];
print_order = "tstart";
Parse_PrintOrder(print_order);
date_sorted = 1;
LogError("Option -m depricated. Use '-O tstart' instead\n");
LogError("Option -m deprecated. Use '-O tstart' instead\n");
break;
case 'M':
Mdirs = optarg;
@ -1009,7 +1009,7 @@ char Ident[IDENTLEN];
}
if ( rfile && Rfile ) {
LogError("-r and -R are mutually exclusive. Plase specify either -r or -R\n");
LogError("-r and -R are mutually exclusive. Please specify either -r or -R\n");
exit(255);
}
if ( Mdirs && !(rfile || Rfile) ) {

View File

@ -376,7 +376,7 @@ channel_t *channel, *current_channel;
printf("Rescan again, due to file changes in directory!\n");
}
if ( BookSequence(current_channel->books) != last_sequence ) {
fprintf(stderr, "Could not savely rescan the directory. Data is not consistent.\n");
fprintf(stderr, "Could not safely rescan the directory. Data is not consistent.\n");
ReleaseBookkeeper(current_channel->books, DETACH_ONLY);
if ( current_channel->status == OK )
WriteStatInfo(current_channel->dirstat);

View File

@ -295,7 +295,7 @@ char *string;
}
if ( c != maxindex ) {
LogError("Abort: Missmatch %s line %d: %s\n", __FILE__, __LINE__, strerror (errno));
LogError("Abort: Mismatch %s line %d: %s\n", __FILE__, __LINE__, strerror (errno));
return 0;
}

View File

@ -178,7 +178,7 @@ pid_t ret;
sleep(1);
}
if ( i >= LAUNCHER_TIMEOUT ) {
syslog(LOG_WARNING, "Laucher does not want to terminate - signal again");
syslog(LOG_WARNING, "Launcher does not want to terminate - signal again");
kill(pid, SIGTERM);
sleep(1);
}