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