commit: 1715286f9665488334e6c7e5154523648f383d61
Author: Raimonds Cicans <ray <AT> apollo <DOT> lv>
AuthorDate: Sat Nov 9 18:16:11 2019 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Nov 9 18:23:50 2019 +0000
URL: https://gitweb.gentoo.org/proj/elfix.git/commit/?id=1715286f
install-xattr: correct -Z flag, bug #699550
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
misc/install-xattr/install-xattr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/misc/install-xattr/install-xattr.c
b/misc/install-xattr/install-xattr.c
index 5c8a978..ab3d041 100644
--- a/misc/install-xattr/install-xattr.c
+++ b/misc/install-xattr/install-xattr.c
@@ -278,14 +278,14 @@ main(int argc, char* argv[])
{ "mode", required_argument, 0, 'm'},
{ "owner", required_argument, 0, 'o'},
{ "suffix", required_argument, 0, 'S'},
- { "context", optional_argument, 0, 'Z'},
+ { "context", optional_argument, 0, 0 },
{ "backup", optional_argument, 0, 'b'},
{ "help", no_argument, 0, 0 },
{ 0, 0, 0, 0 }
};
int option_index;
- int c = getopt_long(argc, argv, "dt:g:m:o:S:Z:", long_options,
&option_index);
+ int c = getopt_long(argc, argv, "dt:g:m:o:S:Z", long_options,
&option_index);
if (c == -1)