From a4b477c96a28dbea3b9bde7dd44930eb910def5b Mon Sep 17 00:00:00 2001 From: albert <> Date: Mon, 7 Oct 2002 21:28:14 +0000 Subject: [PATCH] fix for x86 --- proc/sysinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc/sysinfo.c b/proc/sysinfo.c index b604c272..9baf1587 100644 --- a/proc/sysinfo.c +++ b/proc/sysinfo.c @@ -181,7 +181,7 @@ static unsigned long find_elf_note(unsigned long findme){ unsigned long *ep = (unsigned long *)environ; unsigned long ret = 42; while(*ep++); - while(*ep++); +// while(*ep++); while(*ep){ // printf("%08lx %08lx %011ld %011ld%s\n",ep[0],ep[1],ep[0],ep[1],ep[0]==findme?" <<<":""); if(ep[0]==findme) ret=ep[1];