diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-11-23 18:41:59 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-11-23 18:42:26 +0000 |
commit | b9bd24b943f22f07b2ed5bf7edeab89bc8028f7e (patch) | |
tree | 7fa8c2a666c2afe3ed47aa7ee7c7e15d0d3ac432 /daemon/sfdisk.c | |
parent | 8d3e97679a698386980bd1e5e5833542412a56f6 (diff) | |
download | libguestfs-b9bd24b943f22f07b2ed5bf7edeab89bc8028f7e.tar.gz libguestfs-b9bd24b943f22f07b2ed5bf7edeab89bc8028f7e.tar.xz libguestfs-b9bd24b943f22f07b2ed5bf7edeab89bc8028f7e.zip |
daemon: In sfdisk call blockdev --rereadpt with device name.
Diffstat (limited to 'daemon/sfdisk.c')
-rw-r--r-- | daemon/sfdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/sfdisk.c b/daemon/sfdisk.c index ec774653..b5956015 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 (); |