summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-04-14 10:43:21 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2009-04-14 10:43:21 +0200
commit575fc906a302599cb9afeb136096dfd96bb57b17 (patch)
treeb74da99c058d70c94da9095d3edd6d0c2ff08858
parentdfb88dae65fbdc37d72483ddff23171ef4070dae (diff)
downloadconntrack-tools-575fc906a302599cb9afeb136096dfd96bb57b17.tar.gz
conntrack-tools-575fc906a302599cb9afeb136096dfd96bb57b17.zip
conntrack: fix English typo in output message
This patch fixes an English typo in an output message. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--src/conntrack.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/conntrack.c b/src/conntrack.c
index 53089c7..8e28d86 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -670,7 +670,7 @@ event_sighandler(int s)
}
fprintf(stderr, "%s v%s (conntrack-tools): ", PROGNAME, VERSION);
- fprintf(stderr, "%d flow events has been shown.\n", counter);
+ fprintf(stderr, "%d flow events have been shown.\n", counter);
nfct_close(cth);
exit(0);
}
@@ -1014,14 +1014,14 @@ static const int opt2attr[] = {
};
static char exit_msg[NUMBER_OF_CMD][64] = {
- [CT_LIST_BIT] = "%d flow entries has been shown.\n",
- [CT_CREATE_BIT] = "%d flow entries has been created.\n",
- [CT_UPDATE_BIT] = "%d flow entries has been updated.\n",
- [CT_DELETE_BIT] = "%d flow entries has been deleted.\n",
- [CT_GET_BIT] = "%d flow entries has been shown.\n",
- [CT_EVENT_BIT] = "%d flow events has been shown.\n",
- [EXP_LIST_BIT] = "%d expectations has been shown.\n",
- [EXP_DELETE_BIT] = "%d expectations has been shown.\n",
+ [CT_LIST_BIT] = "%d flow entries have been shown.\n",
+ [CT_CREATE_BIT] = "%d flow entries have been created.\n",
+ [CT_UPDATE_BIT] = "%d flow entries have been updated.\n",
+ [CT_DELETE_BIT] = "%d flow entries have been deleted.\n",
+ [CT_GET_BIT] = "%d flow entries have been shown.\n",
+ [CT_EVENT_BIT] = "%d flow events have been shown.\n",
+ [EXP_LIST_BIT] = "%d expectations have been shown.\n",
+ [EXP_DELETE_BIT] = "%d expectations have been shown.\n",
};
int main(int argc, char *argv[])