From b9bd24b943f22f07b2ed5bf7edeab89bc8028f7e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 23 Nov 2010 18:41:59 +0000 Subject: [PATCH] daemon: In sfdisk call blockdev --rereadpt with device name. --- daemon/sfdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (); -- 1.8.3.1