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
/
ls.c
diff --git
a/daemon/ls.c
b/daemon/ls.c
index
8ae150b
..
8dba1bf
100644
(file)
--- a/
daemon/ls.c
+++ b/
daemon/ls.c
@@
-37,7
+37,7
@@
do_ls (char *path)
DIR *dir;
struct dirent *d;
- NEED_ROOT (NULL);
+ NEED_ROOT (
return
NULL);
ABS_PATH (path, return NULL);
CHROOT_IN;