git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update all uses of ABS_PATH
[libguestfs.git]
/
daemon
/
scrub.c
diff --git
a/daemon/scrub.c
b/daemon/scrub.c
index
3c22b66
..
f1601f9
100644
(file)
--- a/
daemon/scrub.c
+++ b/
daemon/scrub.c
@@
-55,7
+55,7
@@
do_scrub_file (char *file)
int r;
NEED_ROOT (-1);
int r;
NEED_ROOT (-1);
- ABS_PATH (file, -1);
+ ABS_PATH (file,
return
-1);
/* Make the path relative to /sysroot. */
buf = sysroot_path (file);
/* Make the path relative to /sysroot. */
buf = sysroot_path (file);
@@
-85,7
+85,7
@@
do_scrub_freespace (char *dir)
int r;
NEED_ROOT (-1);
int r;
NEED_ROOT (-1);
- ABS_PATH (dir, -1);
+ ABS_PATH (dir,
return
-1);
/* Make the path relative to /sysroot. */
buf = sysroot_path (dir);
/* Make the path relative to /sysroot. */
buf = sysroot_path (dir);