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 <james.warner@comcast.net>
This commit is contained in:
parent
93d37cf57a
commit
1da2c98937
@ -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__)
|
||||
|
Loading…
Reference in New Issue
Block a user