From d01dc2faed5ded6d99f87a7dc97e0850d4c8e014 Mon Sep 17 00:00:00 2001 From: Julien Fischer Date: Sat, 26 Mar 2022 00:20:39 +1100 Subject: [PATCH] Fix mkinit option processing. util/mkinit.c: The -l option does not take an argument. An incorrect edit in commit fcb8ffe9 meant that it was expecting one. --- util/mkinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/mkinit.c b/util/mkinit.c index 3dfcc4466..20dddc771 100644 --- a/util/mkinit.c +++ b/util/mkinit.c @@ -815,7 +815,7 @@ parse_options(int argc, char *argv[]) String_List *tmp_slist; int seen_f_option = 0; - while ((c = getopt(argc, argv, "A:c:f:g:iI:l:o:r:tw:xX:ks")) != EOF) { + while ((c = getopt(argc, argv, "A:c:f:g:iI:lo:r:tw:xX:ks")) != EOF) { switch (c) { case 'A': // Add the argument to the end of the list of always executed