git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
manually adjust ABS_PATH uses for new semantics
[libguestfs.git]
/
daemon
/
fallocate.c
diff --git
a/daemon/fallocate.c
b/daemon/fallocate.c
index
47e84c6
..
f61c496
100644
(file)
--- a/
daemon/fallocate.c
+++ b/
daemon/fallocate.c
@@
-33,7
+33,7
@@
do_fallocate (char *path, int len)
int fd, r;
NEED_ROOT (-1);
- ABS_PATH (path, -1);
+ ABS_PATH (path,
return
-1);
CHROOT_IN;
fd = open (path, O_WRONLY | O_CREAT | O_TRUNC | O_NOCTTY, 0666);