summaryrefslogtreecommitdiff
path: root/networking/netstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/netstat.c')
-rw-r--r--networking/netstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/netstat.c b/networking/netstat.c
index 9fd3d2f..5bacb47 100644
--- a/networking/netstat.c
+++ b/networking/netstat.c
@@ -497,7 +497,7 @@ int netstat_main(int argc, char **argv)
#endif
/* Option string must match NETSTAT_xxx constants */
- opt = getopt32(argc, argv, NETSTAT_OPTS);
+ opt = getopt32(argv, NETSTAT_OPTS);
if (opt & 0x1) { // -l
flags &= ~NETSTAT_CONNECTED;
flags |= NETSTAT_LISTENING;