diff options
Diffstat (limited to 'src/whoami.c')
-rw-r--r-- | src/whoami.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/whoami.c b/src/whoami.c index 4d1523690..52b7b650b 100644 --- a/src/whoami.c +++ b/src/whoami.c @@ -74,7 +74,7 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - while ((c = getopt_long (argc, argv, "", long_options, (int *) 0)) != EOF) + while ((c = getopt_long (argc, argv, "", long_options, NULL)) != -1) { switch (c) { |