From: Thomas Weißschuh Date: Sun, 25 Dec 2022 13:23:34 +0000 (+0000) Subject: fadvise: fix parsing of option -V X-Git-Tag: v2.39-rc1~350^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb78a177cd4ef8992df6bab889db82bf070d07ac;p=thirdparty%2Futil-linux.git fadvise: fix parsing of option -V --- diff --git a/misc-utils/fadvise.c b/misc-utils/fadvise.c index 2590bb0196..54f23f63ec 100644 --- a/misc-utils/fadvise.c +++ b/misc-utils/fadvise.c @@ -93,7 +93,7 @@ int main(int argc, char ** argv) bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); - while ((c = getopt_long (argc, argv, "a:d:hl:o:", longopts, NULL)) != -1) { + while ((c = getopt_long (argc, argv, "a:d:hl:o:V", longopts, NULL)) != -1) { switch (c) { case 'a': break;