From: Richard Jones Date: Wed, 10 Jun 2009 11:48:02 +0000 (+0100) Subject: Fix small sfdisk bug. X-Git-Tag: 1.0.56~18 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=7ec11d3aa119ea57d0ac249a9e65884045e2642a;p=libguestfs.git Fix small sfdisk bug. --- diff --git a/daemon/sfdisk.c b/daemon/sfdisk.c index 295e353..95f04af 100644 --- a/daemon/sfdisk.c +++ b/daemon/sfdisk.c @@ -30,7 +30,7 @@ #include "actions.h" static int -sfdisk (const char *device, int n, int cyls, int heads, int sectors, +sfdisk (char *device, int n, int cyls, int heads, int sectors, char * const* const lines) { FILE *fp; @@ -94,7 +94,7 @@ do_sfdisk_N (char *device, int n, int cyls, int heads, int sectors, } static char * -sfdisk_flag (const char *device, const char *flag) +sfdisk_flag (char *device, const char *flag) { char *out, *err; int r;