git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
generator.ml: new type, "Pathname"
[libguestfs.git]
/
daemon
/
ls.c
diff --git
a/daemon/ls.c
b/daemon/ls.c
index
e2ca55f
..
8dba1bf
100644
(file)
--- a/
daemon/ls.c
+++ b/
daemon/ls.c
@@
-37,8
+37,8
@@
do_ls (char *path)
DIR *dir;
struct dirent *d;
- NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ NEED_ROOT (
return
NULL);
+ ABS_PATH (path,
return
NULL);
CHROOT_IN;
dir = opendir (path);