summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-01-01 16:30:18 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2012-01-01 16:30:33 +0100
commit3da77b166ac770cbdc479a13e53f4bd66f0aced7 (patch)
tree491103ddf7117ff16a69ef05993ad933a9ed5e2c
parent2f7d477dc478f7f3b3c6be320cd668f1d095f65c (diff)
nfacct: replace one leftover perror by nfacct_perror
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--src/nfacct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nfacct.c b/src/nfacct.c
index 6af2b43..4fed709 100644
--- a/src/nfacct.c
+++ b/src/nfacct.c
@@ -177,7 +177,7 @@ static int nfacct_cmd_list(int argc, char *argv[])
portid = mnl_socket_get_portid(nl);
if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) {
- perror("mnl_socket_send");
+ nfacct_perror("mnl_socket_send");
return -1;
}