From 1da2c98937d91676e485557f8197249453547306 Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Wed, 16 Jul 2014 00:00:00 -0500 Subject: [PATCH] library: disable a potential 'ELF note' is missing msg The stderr message regarding ELF notes appears on some systems (openSUSE-13.1 for example) but I have not yet isolated why. Since at startup we go on to determine a Hertz value the old fashion way, this patch just turns off the useless message until the cause is understood. Signed-off-by: Jim Warner --- proc/sysinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc/sysinfo.c b/proc/sysinfo.c index e9f7da92..f6cc1628 100644 --- a/proc/sysinfo.c +++ b/proc/sysinfo.c @@ -282,7 +282,7 @@ static void init_libproc(void){ if(linux_version_code > LINUX_VERSION(2, 4, 0)){ Hertz = find_elf_note(AT_CLKTCK); if(Hertz!=NOTE_NOT_FOUND) return; - fputs("2.4+ kernel w/o ELF notes? -- report this\n", stderr); +// fputs("2.4+ kernel w/o ELF notes? -- report this\n", stderr); } #endif /* __linux __ */ #if defined(__FreeBSD_kernel__) || defined(__FreeBSD__)