aboutsummaryrefslogtreecommitdiffstats
path: root/linux/syslinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/syslinux.c')
-rw-r--r--linux/syslinux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/syslinux.c b/linux/syslinux.c
index 1194fbb3..bd3c555c 100644
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
@@ -286,12 +286,12 @@ int main(int argc, char *argv[])
mypid = getpid();
umask(077);
- parse_options(argc, argv, 1);
+ parse_options(argc, argv, MODE_SYSLINUX);
subdir = opt.directory;
if (!opt.device)
- usage(EX_USAGE, 1);
+ usage(EX_USAGE, MODE_SYSLINUX);
/*
* First make sure we can open the device at all, and that we have
@@ -400,7 +400,7 @@ int main(int argc, char *argv[])
rmdir(mntpath);
exit(0);
} else
- usage(EX_USAGE, 0);
+ usage(EX_USAGE, MODE_SYSLINUX);
}
/* Read a pre-existing ADV, if already installed */