diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-05-20 20:35:24 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-05-20 20:35:24 -0700 |
commit | 08b3602db548775ca819780de77686a186156ec7 (patch) | |
tree | 1d40f5875cffc600ba67b2795fe2869f08abb8c6 | |
parent | dc81681f81225d6f22cc8e3afcf07a286e02ca62 (diff) | |
download | syslinux-3.8x.tar.gz |
isohybrid: use getopt_long_only()syslinux-3.8x
For compatibility with isohybrid.pl, use getopt_long_only() so long
options are accepted with a single dash.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | utils/isohybrid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/isohybrid.c b/utils/isohybrid.c index 5b63b0c6..4e504b93 100644 --- a/utils/isohybrid.c +++ b/utils/isohybrid.c @@ -130,7 +130,7 @@ check_option(int argc, char *argv[]) }; opterr = mode = 0; - while ((n = getopt_long(argc, argv, optstr, lopt, &ind)) != -1) + while ((n = getopt_long_only(argc, argv, optstr, lopt, &ind)) != -1) { switch (n) { |