mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
Fix trivial bug in xentop main loop.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
8c8d60ad1a
commit
f48232576f
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||