summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-30 13:55:24 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-02-06 23:43:46 +0100
commit2519c9e59f0fbfc99e0298591ad791adfa861896 (patch)
tree7f454519e4231c28bcfd0ee329d2f0d63e90e0f9
parentee9fb3dda91066c236f6e0db38ae711d5eafb6d3 (diff)
axwrapper: Fix use of 0 instead of NULL as a pointer value.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--ax25/axwrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ax25/axwrapper.c b/ax25/axwrapper.c
index 6e3ce3c..eaa387c 100644
--- a/ax25/axwrapper.c
+++ b/ax25/axwrapper.c
@@ -174,7 +174,7 @@ int main(int argc, char **argv)
tv.tv_sec = 0;
tv.tv_usec = FLUSHTIMEOUT;
- len = select(256, &fdset, 0, 0, &tv);
+ len = select(256, &fdset, NULL, NULL, &tv);
if (len == -1) {
perror("axwrapper: select");
exit(1);