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

[Xen-changelog] Replace initialiser for readonly parameter in xshandle_init that should never



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 6738fd14cb58cd8d5488d3e1e53340b128182bcc
# Parent  675862d22347c8f7efa87b9b49fff5d62e2b3516
Replace initialiser for readonly parameter in xshandle_init that should never
have been deleted.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 675862d22347 -r 6738fd14cb58 tools/python/xen/lowlevel/xs/xs.c
--- a/tools/python/xen/lowlevel/xs/xs.c Mon Nov 21 12:17:29 2005
+++ b/tools/python/xen/lowlevel/xs/xs.c Mon Nov 21 13:48:10 2005
@@ -815,7 +815,7 @@
 {
     static char *kwd_spec[] = { "readonly", NULL };
     static char *arg_spec = "|i";
-    int readonly;
+    int readonly = 0;
 
     if (!PyArg_ParseTupleAndKeywords(args, kwds, arg_spec, kwd_spec,
                                      &readonly))

_______________________________________________
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®.