diff options
Diffstat (limited to 'src/user/app/ps/ps.c')
-rw-r--r-- | src/user/app/ps/ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/ps/ps.c b/src/user/app/ps/ps.c index d2b9ded..76a5841 100644 --- a/src/user/app/ps/ps.c +++ b/src/user/app/ps/ps.c @@ -33,7 +33,7 @@ main(void) warn("couldn't open \"%s\"", procbuf); strcpy(procbuf, "(can't peek)"); } else { - fseek(g, (long)_libc_psdata, SEEK_SET); + fseek(g, (long)&_psdata_loc->desc, SEEK_SET); if (fread(procbuf, 1, 128, g) <= 0) { strcpy(procbuf, "(no psdata)"); } |