[PATCH 5/8] elf: Emit tunconf "not recognized" warning on stderr

Adhemerval Zanella <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>
For consistency with other errors.

Checked on x86_64-linux-gnu and i686-linux-gnu.
---
 elf/tunconf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elf/tunconf.c b/elf/tunconf.c
index c27b50b1de0..fa0d01b53e4 100644
--- a/elf/tunconf.c
+++ b/elf/tunconf.c
@@ -316,8 +316,8 @@ add_tunable (char *line, const char *filename, int lineno)
 	break;
       }
   if (id == -1)
-    printf ("%s:%d: Warning: tunable %s not recognized.\n",
-	    filename, lineno, name);
+    error_at_line (0, 0, filename, lineno,
+		   "Warning: tunable %s not recognized", name);
 
   entry = (struct tunable_entry_int *) xcalloc (sizeof (struct tunable_entry_int), 1);
   entry->name = cache_store_string (name);
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.