summaryrefslogtreecommitdiff
path: root/sysdeps/solaris
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1999-12-25 18:37:21 +0000
committerMartin Baulig <martin@src.gnome.org>1999-12-25 18:37:21 +0000
commit91e94f9c0d0869538107d01be364361f7991942b (patch)
tree509a07a25efaf271e8d5f26613d9b6d21b659567 /sysdeps/solaris
parent42cbc7cf0c84c3995d13466a8679c33470845b1e (diff)
downloadlibgtop-91e94f9c0d0869538107d01be364361f7991942b.tar.gz
Warning fix.
Diffstat (limited to 'sysdeps/solaris')
-rw-r--r--sysdeps/solaris/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/solaris/open.c b/sysdeps/solaris/open.c
index 61409b26..c25ccb3b 100644
--- a/sysdeps/solaris/open.c
+++ b/sysdeps/solaris/open.c
@@ -72,7 +72,7 @@ glibtop_get_kstats(glibtop *server)
life time of a process, but let's hope that's just an error in
the documentation. */
- if(nproc_same = new_ncpu == server->ncpu)
+ if((nproc_same = new_ncpu) == server->ncpu)
{
int checked, i;
char cpu[20];