35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From ee84a3bfaf1706269c3a54a546bb057189556e67 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= <thomas@t-8ch.de>
|
|
Date: Mon, 2 Oct 2023 11:39:53 +0200
|
|
Subject: [PATCH] blkid: fix call to err_exclusive_options
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
err_exclusive_options needs to be passed the long options array,
|
|
otherwise it will crash.
|
|
|
|
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
|
|
Reference:https://github.com/util-linux/util-linux/commit/ee84a3bfaf1706269c3a54a546bb057189556e67
|
|
Conflict:NA
|
|
---
|
|
misc-utils/blkid.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/misc-utils/blkid.c b/misc-utils/blkid.c
|
|
index 32bc6feea..6df4e074e 100644
|
|
--- a/misc-utils/blkid.c
|
|
+++ b/misc-utils/blkid.c
|
|
@@ -717,7 +717,7 @@ int main(int argc, char **argv)
|
|
while ((c = getopt_long (argc, argv,
|
|
"c:DdgH:hilL:n:ko:O:ps:S:t:u:U:w:Vv", longopts, NULL)) != -1) {
|
|
|
|
- err_exclusive_options(c, NULL, excl, excl_st);
|
|
+ err_exclusive_options(c, longopts, excl, excl_st);
|
|
|
|
switch (c) {
|
|
case 'c':
|
|
--
|
|
2.33.0
|
|
|