ia64/xen-unstable
changeset 6376:f26884f4e6f1
Make the set_delay function use the provided parameter to set the delay, not the global prompt_val.
author | josht@us.ibm.com |
---|---|
date | Tue Aug 23 00:28:43 2005 +0100 (2005-08-23) |
parents | cd3a87ae9ac9 |
children | 63cc61fafb28 |
files | tools/xenstat/xentop/xentop.c |
line diff
1.1 --- a/tools/xenstat/xentop/xentop.c Tue Aug 23 00:28:39 2005 +0100 1.2 +++ b/tools/xenstat/xentop/xentop.c Tue Aug 23 00:28:43 2005 +0100 1.3 @@ -254,7 +254,7 @@ static void attr_addstr(int attr, const 1.4 static void set_delay(char *value) 1.5 { 1.6 int new_delay; 1.7 - new_delay = atoi(prompt_val); 1.8 + new_delay = atoi(value); 1.9 if(new_delay > 0) 1.10 delay = new_delay; 1.11 }