summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon/sfdisk.c2
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 ();