summaryrefslogtreecommitdiff
path: root/flowtop.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-07-13 16:09:05 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-07-13 16:09:05 +0200
commit86373411a23051a18ae3ed01b180f838dbcd76e7 (patch)
treefe3661ffdbdda3b6d252f125f49ebb0556b04d3a /flowtop.c
parented57128990c02342e1abe7f2a3abd1568f965dc7 (diff)
misc: fix multiple NULL pointer sparse warnings
Those are fixes for the following warnings: pcap_mm.c:119:29: warning: Using plain integer as NULL pointer pcap_mm.c:141:29: warning: Using plain integer as NULL pointer ring.c:24:31: warning: Using plain integer as NULL pointer flowtop.c:1114:22: warning: Using plain integer as NULL pointer ifpps.c:1133:29: warning: Using plain integer as NULL pointer Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'flowtop.c')
-rw-r--r--flowtop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flowtop.c b/flowtop.c
index b9d32cc..3e55079 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -1111,7 +1111,7 @@ static void *collector(void *null)
flow_list_destroy(&flow_list);
nfct_close(handle);
- pthread_exit(0);
+ pthread_exit(NULL);
}
int main(int argc, char **argv)