From 112253e474c5f2fac9abcff72bed12143244cf9f Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Sun, 12 Nov 2006 06:11:47 +0000 Subject: [PATCH] Fix build on FreeBSD. git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@756 7f574dfc-610e-0410-a909-a81674777703 --- src/freebsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freebsd.c b/src/freebsd.c index 4d06d1bc..6037c4c2 100644 --- a/src/freebsd.c +++ b/src/freebsd.c @@ -290,7 +290,7 @@ update_cpu_usage() size_t len = sizeof (cp_time); /* add check for !info.cpu_usage since that mem is freed on a SIGUSR1 */ - if ((cpu_setup == 0)) || (!info.cpu_usage) { + if ((cpu_setup == 0) || (!info.cpu_usage)) { get_cpu_count(); cpu_setup = 1; }