]> The Tcpdump Group git mirrors - tcpdump/blobdiff - missing/getopt_long.c
Add CAP_FCNTL and use cap_fcntls_limit().
[tcpdump] / missing / getopt_long.c
index 2a80fc397164d3294f780a7d4b9eb5acb903f4ce..80857369804dbe21aa4c27ad50db68f743d8656e 100644 (file)
@@ -80,7 +80,7 @@
 #endif
 
 char *optarg;
-int optind, opterr, optopt;
+int optind, opterr = 1, optopt;
 
 static int getopt_internal(int, char * const *, const char *,
                           const struct option *, int *, int);