From: Thomas Weißschuh Date: Mon, 2 Oct 2023 09:39:53 +0000 (+0200) Subject: blkid: fix call to err_exclusive_options X-Git-Tag: v2.40-rc1~218^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee84a3bfaf1706269c3a54a546bb057189556e67;p=thirdparty%2Futil-linux.git blkid: fix call to err_exclusive_options err_exclusive_options needs to be passed the long options array, otherwise it will crash. Signed-off-by: Thomas Weißschuh --- diff --git a/misc-utils/blkid.c b/misc-utils/blkid.c index 32bc6feead..6df4e074e5 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':