projects
/
procps-ng
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a20031
)
fix for x86
author
albert
<>
Mon, 7 Oct 2002 21:28:14 +0000
(21:28 +0000)
committer
albert
<>
Mon, 7 Oct 2002 21:28:14 +0000
(21:28 +0000)
proc/sysinfo.c
patch
|
blob
|
history
diff --git
a/proc/sysinfo.c
b/proc/sysinfo.c
index b604c272e60cd0aefdfe36a04210df67921a77b7..9baf1587ff91afa9a1d54f75ff27636c31ef0660 100644
(file)
--- 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];