Skip to content

Commit

Permalink
nfacct: Fix DBG() format string for uint64_t
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Wagner authored and pfl committed Jun 20, 2013
1 parent 41f3712 commit be21997
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nfacct.c
Expand Up @@ -24,6 +24,7 @@
#endif

#include <errno.h>
#include <inttypes.h>

#include "connman.h"
#include "src/shared/nfacct.h"
Expand Down Expand Up @@ -288,7 +289,7 @@ static void nfacct_flush_cb(int error, const char *name,
connman_nfacct_flush_cb_t cb = cbd->cb;
unsigned int id;

DBG("name %s packets %lu bytes %lu", name, packets, bytes);
DBG("name %s packets %" PRIu64 " bytes %" PRIu64, name, packets, bytes);

if (error < 0) {
/*
Expand Down

0 comments on commit be21997

Please sign in to comment.