X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fsfdisk.c;h=b5956015e7cc6c6f7ab44f4e75896abe6e87c221;hb=2c57305f72cd6181d1849ae6e1b892aa01c7f844;hp=ec77465317b1afea57069740eede495560e2303f;hpb=1937698c25fb9f066dba7b48ad4731927e3e74da;p=libguestfs.git 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 ();