summaryrefslogtreecommitdiffstats
path: root/daemon/cmp.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-10 19:03:36 +0200
committerJim Meyering <meyering@redhat.com>2009-08-13 14:45:34 +0200
commit0dd6c8c8442d4ff588f6dac2efab24d3409b0dec (patch)
tree3b97e6facdd874b4573eb6142a2cd376cb7b88ef /daemon/cmp.c
parent4a5e13f15734aa7363e605f716ad6e29c67475c5 (diff)
downloadlibguestfs-0dd6c8c8442d4ff588f6dac2efab24d3409b0dec.tar.gz
libguestfs-0dd6c8c8442d4ff588f6dac2efab24d3409b0dec.tar.xz
libguestfs-0dd6c8c8442d4ff588f6dac2efab24d3409b0dec.zip
update all uses of ABS_PATH
run this command: git grep -l -w ABS_PATH|xargs perl -pi -e \ 's/(?:ABS_PATH)( \(.*?,) (.*?)\)/ABS_PATH$1 return $2)/'
Diffstat (limited to 'daemon/cmp.c')
-rw-r--r--daemon/cmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/cmp.c b/daemon/cmp.c
index a2d92a33..30574e2c 100644
--- a/daemon/cmp.c
+++ b/daemon/cmp.c
@@ -35,8 +35,8 @@ do_equal (char *file1, char *file2)
int r;
NEED_ROOT (-1);
- ABS_PATH (file1, -1);
- ABS_PATH (file2, -1);
+ ABS_PATH (file1, return -1);
+ ABS_PATH (file2, return -1);
file1buf = sysroot_path (file1);
if (file1buf == NULL) {