From 876bf608bb2a0e4da78dbeb2b0ae40ef88e254c1 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 20 Jun 2012 16:12:29 -0700 Subject: syslxopt: fix syntax errors Oops :) Signed-off-by: H. Peter Anvin --- libinstaller/syslxopt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libinstaller') 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; -- cgit v1.2.1