Fix trivial bug in xentop main loop.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-01-12 14:46:21 +00:00
1 parent 8c8d60ad1a
commit f48232576f
1 file changed
+1 -1
+1 -1
View File
@@ -1067,9 +1067,9 @@ int main(int argc, char **argv)
gettimeofday(&curtime, NULL);
top();
oldtime = curtime;
sleep(delay);
if ((!loop) && !(--iterations))
break;
sleep(delay);
} while (1);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.