From 7ec11d3aa119ea57d0ac249a9e65884045e2642a Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 10 Jun 2009 12:48:02 +0100 Subject: [PATCH] Fix small sfdisk bug. --- daemon/sfdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.8.3.1