Fixed nice value.

* procuid.c: Fixed nice value.
This commit is contained in:
Drazen Kacar
1999-05-08 01:53:41 +00:00
parent e8a3a40691
commit 2635e545bf
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
1999-05-08 Drazen Kacar <dave@srce.hr>
* procuid.c: Fixed nice value.
1999-05-08 Martin Baulig <martin@home-of-linux.org> 1999-05-08 Martin Baulig <martin@home-of-linux.org>
Use the setgid server for IPC Limits. Use the setgid server for IPC Limits.

View File

@@ -73,7 +73,7 @@ glibtop_get_proc_uid_s (glibtop *server, glibtop_proc_uid *buf, pid_t pid)
buf->tty = psinfo.pr_ttydev; buf->tty = psinfo.pr_ttydev;
buf->priority = psinfo.pr_lwp.pr_pri; buf->priority = psinfo.pr_lwp.pr_pri;
buf->nice = psinfo.pr_lwp.pr_nice; buf->nice = psinfo.pr_lwp.pr_nice - NZERO;
buf->flags = _glibtop_sysdeps_proc_uid_psinfo; buf->flags = _glibtop_sysdeps_proc_uid_psinfo;