summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1999-10-17 21:38:38 +0000
committerMartin Baulig <martin@src.gnome.org>1999-10-17 21:38:38 +0000
commit78a6bcd553c59346d5a57054167c7f399137b8ac (patch)
treeee8b33ee77ff1a520794e4ec5b416b7a6c3baaaf
parent66dd76be8fa110f0b9ef7b0e77d61919e4711c64 (diff)
downloadlibgtop-78a6bcd553c59346d5a57054167c7f399137b8ac.tar.gz
Small warning fix.
-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 b2c8f999..eb653a6b 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];