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 NEED_ROOT uses
[libguestfs.git]
/
daemon
/
fallocate.c
diff --git
a/daemon/fallocate.c
b/daemon/fallocate.c
index
f61c496
..
9c5a3dd
100644
(file)
--- a/
daemon/fallocate.c
+++ b/
daemon/fallocate.c
@@
-32,7
+32,7
@@
do_fallocate (char *path, int len)
{
int fd, r;
- NEED_ROOT (-1);
+ NEED_ROOT (
return
-1);
ABS_PATH (path, return -1);
CHROOT_IN;