summaryrefslogtreecommitdiffstats
path: root/src/elfclassify.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2022-04-24 17:48:39 +0200
committerMark Wielaard <[email protected]>2022-04-24 17:50:38 +0200
commit6398e94e9ac9a170da088768198d4a2b6e989e19 (patch)
tree7ed7dbb19e3af979f5307543f900379575529930 /src/elfclassify.c
parent3bcf887340fd47d0d8a3671cc45abe2989d1fd6c (diff)
elfclassify: Fix --no-stdin flag
The no-stdin option was using the wrong flag, classify_flag_stdin, instead of classify_flag_no_stdin. https://sourceware.org/bugzilla/show_bug.cgi?id=28724 Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'src/elfclassify.c')
-rw-r--r--src/elfclassify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elfclassify.c b/src/elfclassify.c
index 2f70b29a..25fe9a65 100644
--- a/src/elfclassify.c
+++ b/src/elfclassify.c
@@ -946,7 +946,7 @@ separated by newlines"), 2 },
{ "stdin0", classify_flag_stdin0, NULL, 0,
N_("Also read file names to process from standard input, \
separated by ASCII NUL bytes"), 2 },
- { "no-stdin", classify_flag_stdin, NULL, 0,
+ { "no-stdin", classify_flag_no_stdin, NULL, 0,
N_("Do not read files from standard input (default)"), 2 },
{ "compressed", 'z', NULL, 0,
N_("Try to open compressed files or embedded (kernel) ELF images"),