diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-10 23:07:21 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-13 14:45:34 +0200 |
commit | 0c07f0d23698798475e0d09491812aca52440328 (patch) | |
tree | f491f09a5681ddb920b5dee5b2fe7f084f355412 /daemon/ntfs.c | |
parent | 8601bbda56cdb2b8491b6e2054596ec9599c38f1 (diff) | |
download | libguestfs-0c07f0d23698798475e0d09491812aca52440328.tar.gz libguestfs-0c07f0d23698798475e0d09491812aca52440328.tar.xz libguestfs-0c07f0d23698798475e0d09491812aca52440328.zip |
* src/generator.ml: Change all `String "device"' to `Device "device"'.
Then update each affected function, removing each uses of RESOLVE_DEVICE,
now that it's generated in caller from stub.c.
* daemon/blockdev.c (call_blockdev): Remove use of RESOLVE_DEVICE.
* daemon/devsparts.c (do_mkfs): Likewise.
* daemon/ext2.c (do_e2fsck_f, do_get_e2label, do_get_e2uuid): Likewise.
(do_resize2fs, do_set_e2label, do_set_e2uuid, do_tune2fs_l): Likewise.
* daemon/fsck.c (do_fsck): Likewise.
* daemon/grub.c (do_grub_install): Likewise.
* daemon/lvm.c (do_lvremove, do_pvcreate, do_pvremove): Likewise.
(do_pvresize): Likewise.
* daemon/mount.c (do_mount_vfs): Likewise.
* daemon/ntfs.c (do_ntfs_3g_probe): Likewise.
* daemon/scrub.c (do_scrub_device): Likewise.
* daemon/sfdisk.c (sfdisk, sfdisk_flag): Likewise.
* daemon/swap.c (do_mkswap, do_mkswap_L, do_mkswap_U): Likewise.
(do_swapoff_device, do_swapon_device): Likewise.
* daemon/zero.c (do_zero): Likewise.
* daemon/zerofree.c (do_zerofree): Likewise.
Diffstat (limited to 'daemon/ntfs.c')
-rw-r--r-- | daemon/ntfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/daemon/ntfs.c b/daemon/ntfs.c index 8cb4f6fe..1d73f2e1 100644 --- a/daemon/ntfs.c +++ b/daemon/ntfs.c @@ -33,8 +33,6 @@ do_ntfs_3g_probe (int rw, char *device) int r; const char *rw_flag; - RESOLVE_DEVICE (device, return -1); - rw_flag = rw ? "-w" : "-r"; r = commandr (NULL, &err, "ntfs-3g.probe", rw_flag, device, NULL); |