diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-12 14:46:21 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-12 14:46:21 +0000 |
commit | f48232576f48eedea9a17e1e335b3d36188c8fa7 (patch) | |
tree | fc0c09d128802f57c8e6eec1efb953a8920e5109 /tools/xenstat/xentop | |
parent | 8c8d60ad1ad1d6049778a0d439d6a1c250c8bf7b (diff) | |
download | xen-f48232576f48eedea9a17e1e335b3d36188c8fa7.tar.gz xen-f48232576f48eedea9a17e1e335b3d36188c8fa7.tar.bz2 xen-f48232576f48eedea9a17e1e335b3d36188c8fa7.zip |
Fix trivial bug in xentop main loop.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/xenstat/xentop')
-rw-r--r-- | tools/xenstat/xentop/xentop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c index 4b610c3668..1c0d8ac63d 100644 --- a/tools/xenstat/xentop/xentop.c +++ b/tools/xenstat/xentop/xentop.c @@ -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); } |