fix for x86
authoralbert <>
Mon, 7 Oct 2002 21:28:14 +0000 (21:28 +0000)
committeralbert <>
Mon, 7 Oct 2002 21:28:14 +0000 (21:28 +0000)
proc/sysinfo.c

index b604c272e60cd0aefdfe36a04210df67921a77b7..9baf1587ff91afa9a1d54f75ff27636c31ef0660 100644 (file)
@@ -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];