X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fsfdisk.c;h=8221ffa8561f1d99502ec1010fb0aba3c3a03604;hb=8bc6e9d6a89672bbe1e7469774abe889354deb67;hp=ec77465317b1afea57069740eede495560e2303f;hpb=1937698c25fb9f066dba7b48ad4731927e3e74da;p=libguestfs.git diff --git a/daemon/sfdisk.c b/daemon/sfdisk.c index ec77465..8221ffa 100644 --- a/daemon/sfdisk.c +++ b/daemon/sfdisk.c @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include @@ -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 ();