From: Richard W.M. Jones Date: Tue, 23 Nov 2010 18:41:59 +0000 (+0000) Subject: daemon: In sfdisk call blockdev --rereadpt with device name. X-Git-Tag: 1.7.13~17 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=b9bd24b943f22f07b2ed5bf7edeab89bc8028f7e;p=libguestfs.git daemon: In sfdisk call blockdev --rereadpt with device name. --- diff --git a/daemon/sfdisk.c b/daemon/sfdisk.c index ec77465..b595601 100644 --- a/daemon/sfdisk.c +++ b/daemon/sfdisk.c @@ -101,7 +101,7 @@ sfdisk (const char *device, int n, int cyls, int heads, int sectors, * other component. In any case, reread the partition table * unconditionally here. */ - (void) command (NULL, NULL, "blockdev", "--rereadpt", NULL); + (void) command (NULL, NULL, "blockdev", "--rereadpt", device, NULL); udev_settle ();