diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-10 18:51:32 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-13 14:45:33 +0200 |
commit | 1997858e90da728287ef26a6d01a5766ac914312 (patch) | |
tree | 620c80d472b8b0f50cf38e2960ed8253070d12e6 /daemon/ntfs.c | |
parent | 966dbd977f12b639169a48042b558834f627e5f8 (diff) | |
download | libguestfs-1997858e90da728287ef26a6d01a5766ac914312.tar.gz libguestfs-1997858e90da728287ef26a6d01a5766ac914312.tar.xz libguestfs-1997858e90da728287ef26a6d01a5766ac914312.zip |
change almost all uses: s/IS_DEVICE/RESOLVE_DEVICE/
Use this command:
git grep -l -w IS_DEVICE|xargs perl -pi -e \
's/\b(?:IS_DEVICE)\b( \(.*?,) (.*?)\)/RESOLVE_DEVICE$1 return $2)/'
Diffstat (limited to 'daemon/ntfs.c')
-rw-r--r-- | daemon/ntfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/ntfs.c b/daemon/ntfs.c index 26c8d50c..8cb4f6fe 100644 --- a/daemon/ntfs.c +++ b/daemon/ntfs.c @@ -33,7 +33,7 @@ do_ntfs_3g_probe (int rw, char *device) int r; const char *rw_flag; - IS_DEVICE (device, -1); + RESOLVE_DEVICE (device, return -1); rw_flag = rw ? "-w" : "-r"; |