ia64/xen-unstable

changeset 1772:384558e64811

bitkeeper revision 1.1078 (40f3fba76Iz0xWiPyLNc6VMjsLY3Dw)

Fix the arg spec for save.
author mjw@wray-m-3.hpl.hp.com
date Tue Jul 13 15:11:35 2004 +0000 (2004-07-13)
parents 524a61d40438
children e91945007886
files tools/python/xen/lowlevel/xc/xc.c
line diff
     1.1 --- a/tools/python/xen/lowlevel/xc/xc.c	Tue Jul 13 15:10:30 2004 +0000
     1.2 +++ b/tools/python/xen/lowlevel/xc/xc.c	Tue Jul 13 15:11:35 2004 +0000
     1.3 @@ -310,8 +310,7 @@ static PyObject *pyxc_linux_restore(PyOb
     1.4  
     1.5      static char *kwd_list[] = { "state_file", "progress", "debug", NULL };
     1.6  
     1.7 -    if ( !PyArg_ParseTupleAndKeywords(args, kwds, "is|ii", kwd_list,
     1.8 -                                      &ioctxt.domain,
     1.9 +    if ( !PyArg_ParseTupleAndKeywords(args, kwds, "s|ii", kwd_list,
    1.10                                        &state_file,
    1.11                                        &progress,
    1.12                                        &debug) )