"Read 1 potential packet, wrote 1 packet": use packet or packets as appropriate

svn path=/trunk/; revision=24526
This commit is contained in:
Bill Meier 2008-03-01 20:39:31 +00:00
parent b091b8d26c
commit 0743b6f090
1 changed files with 3 additions and 2 deletions

View File

@ -1343,8 +1343,9 @@ int main(int argc, char *argv[])
if (debug)
fprintf(stderr, "\n-------------------------\n");
if (!quiet) {
fprintf(stderr, "Read %ld potential packets, wrote %ld packets\n",
num_packets_read, num_packets_written);
fprintf(stderr, "Read %ld potential packet%s, wrote %ld packet%s\n",
num_packets_read, (num_packets_read==1) ?"":"s",
num_packets_written, (num_packets_written==1)?"":"s");
}
return 0;
}