WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Make the set_delay function use the provided parameter t

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Make the set_delay function use the provided parameter to set the delay, not the global prompt_val.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Aug 2005 19:28:13 +0000
Delivery-date: Wed, 24 Aug 2005 09:08:07 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Make the set_delay function use the provided parameter to set the delay, not the global prompt_val., Xen patchbot -unstable <=