git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
appliance: udev-174 moves udevd to /lib/udev/udevd (instead of /sbin/udevd)
[libguestfs.git]
/
daemon
/
sfdisk.c
diff --git
a/daemon/sfdisk.c
b/daemon/sfdisk.c
index
bf62c1d
..
b595601
100644
(file)
--- a/
daemon/sfdisk.c
+++ b/
daemon/sfdisk.c
@@
-101,8
+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.
*/
* other component. In any case, reread the partition table
* unconditionally here.
*/
- if (do_blockdev_rereadpt (device) == -1)
- return -1;
+ (void) command (NULL, NULL, "blockdev", "--rereadpt", device, NULL);
udev_settle ();
udev_settle ();