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/blockdev.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/blockdev.c')
-rw-r--r-- | daemon/blockdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/blockdev.c b/daemon/blockdev.c index 35d14bf8..a5f76914 100644 --- a/daemon/blockdev.c +++ b/daemon/blockdev.c @@ -46,7 +46,7 @@ call_blockdev (char *device, char *switc, int extraarg, int prints) }; char buf[64]; - IS_DEVICE (device, -1); + RESOLVE_DEVICE (device, return -1); if (extraarg > 0) { snprintf (buf, sizeof buf, "%d", extraarg); |