diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-06-20 16:12:29 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-06-20 16:12:29 -0700 |
commit | 876bf608bb2a0e4da78dbeb2b0ae40ef88e254c1 (patch) | |
tree | 34cebae27a567d1114cbd7295d3b45d336e5d185 | |
parent | ebe0f8447cef2b40337eecdb84a2106f09f7abd2 (diff) | |
download | syslinux-876bf608bb2a0e4da78dbeb2b0ae40ef88e254c1.tar.gz syslinux-876bf608bb2a0e4da78dbeb2b0ae40ef88e254c1.tar.xz syslinux-876bf608bb2a0e4da78dbeb2b0ae40ef88e254c1.zip |
syslxopt: fix syntax errorssyslinux-4.06-pre7
Oops :)
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-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; |