From: albert <> Date: Mon, 7 Oct 2002 21:28:14 +0000 (+0000) Subject: fix for x86 X-Git-Tag: v3.3.0~479 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4b477c96a28dbea3b9bde7dd44930eb910def5b;p=procps-ng fix for x86 --- 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];