aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-05-20 20:35:24 -0700
committerH. Peter Anvin <hpa@zytor.com>2010-05-20 20:35:24 -0700
commit08b3602db548775ca819780de77686a186156ec7 (patch)
tree1d40f5875cffc600ba67b2795fe2869f08abb8c6 /utils
parentdc81681f81225d6f22cc8e3afcf07a286e02ca62 (diff)
downloadsyslinux-08b3602db548775ca819780de77686a186156ec7.tar.gz
syslinux-08b3602db548775ca819780de77686a186156ec7.tar.xz
syslinux-08b3602db548775ca819780de77686a186156ec7.zip
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>
Diffstat (limited to 'utils')
-rw-r--r--utils/isohybrid.c2
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)
{