elfutils/eu-elfclassify-no-stdin-should-use-classify_flag_no_stdin.patch

27 lines
944 B
Diff
Raw Normal View History

From 6ac20db56ab5e431b128a9f80d294bcf82111e29 Mon Sep 17 00:00:00 2001
From: panxiaohe <panxh.life@foxmail.com>
Date: Thu, 17 Feb 2022 15:39:23 +0800
Subject: [PATCH] eu-elfclassify: --no-stdin option should use
classify_flag_no_stdin
---
src/elfclassify.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/elfclassify.c b/src/elfclassify.c
index 535cc49..712e08f 100644
--- a/src/elfclassify.c
+++ b/src/elfclassify.c
@@ -948,7 +948,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"),
--
1.8.3.1