diff options
Diffstat (limited to 'src/hostname.c')
-rw-r--r-- | src/hostname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname.c b/src/hostname.c index 929449ef6..6d7f41813 100644 --- a/src/hostname.c +++ b/src/hostname.c @@ -91,7 +91,7 @@ main (int argc, char **argv) parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, usage, AUTHORS, (char const *) NULL); - if (getopt (argc, argv, "") != -1) + if (getopt_long (argc, argv, "", NULL, NULL) != -1) usage (EXIT_FAILURE); if (argc == optind + 1) |