git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d3e976
)
daemon: In sfdisk call blockdev --rereadpt with device name.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 23 Nov 2010 18:41:59 +0000
(18:41 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 23 Nov 2010 18:42:26 +0000
(18:42 +0000)
daemon/sfdisk.c
patch
|
blob
|
history
diff --git
a/daemon/sfdisk.c
b/daemon/sfdisk.c
index
ec77465
..
b595601
100644
(file)
--- 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 ();