[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Make the set_delay function use the provided parameter to set the delay, not the global prompt_val.



# HG changeset patch
# User josht@xxxxxxxxxx
# Node ID f26884f4e6f18a3c45012fa4ea359eeb10cc2acf
# Parent  cd3a87ae9ac998f0e4553bf9730d2eecb984513b
Make the set_delay function use the provided parameter to set the delay, not 
the global prompt_val.

diff -r cd3a87ae9ac9 -r f26884f4e6f1 tools/xenstat/xentop/xentop.c
--- a/tools/xenstat/xentop/xentop.c     Mon Aug 22 23:28:39 2005
+++ b/tools/xenstat/xentop/xentop.c     Mon Aug 22 23:28:43 2005
@@ -254,7 +254,7 @@
 static void set_delay(char *value)
 {
        int new_delay;
-       new_delay = atoi(prompt_val);
+       new_delay = atoi(value);
        if(new_delay > 0)
                delay = new_delay;
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.