diff options
Diffstat (limited to 'libinstaller/syslxopt.c')
-rw-r--r-- | libinstaller/syslxopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libinstaller/syslxopt.c b/libinstaller/syslxopt.c index dde4969f..b739752f 100644 --- a/libinstaller/syslxopt.c +++ b/libinstaller/syslxopt.c @@ -89,7 +89,7 @@ void __attribute__ ((noreturn)) usage(int rv, enum syslinux_mode mode) /* Actually extlinux can also use -d to provide a directory too... */ fprintf(stderr, "Usage: %s [options] directory\n" - " --device Force use of a specific block device (experts only)\n" + " --device Force use of a specific block device (experts only)\n", program); break; @@ -213,7 +213,7 @@ void parse_options(int argc, char *argv[], enum syslinux_mode mode) opt.activate_partition = 1; break; case OPT_DEVICE: - if (mode != EXTLINUX_MODE) + if (mode != MODE_EXTLINUX) usage(EX_USAGE, mode); opt.device = optarg; break; |