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: use new "Pathname" designation
[libguestfs.git]
/
daemon
/
find.c
diff --git
a/daemon/find.c
b/daemon/find.c
index
950a0fc
..
2147c57
100644
(file)
--- a/
daemon/find.c
+++ b/
daemon/find.c
@@
-48,7
+48,7
@@
input_to_nul (FILE *fp, char *buf, int maxlen)
}
char **
}
char **
-do_find (char *dir)
+do_find (c
onst c
har *dir)
{
struct stat statbuf;
int r, len, sysrootdirlen;
{
struct stat statbuf;
int r, len, sysrootdirlen;
@@
-59,9
+59,6
@@
do_find (char *dir)
char *sysrootdir;
char str[PATH_MAX];
char *sysrootdir;
char str[PATH_MAX];
- NEED_ROOT (return NULL);
- ABS_PATH (dir, return NULL);
-
sysrootdir = sysroot_path (dir);
if (!sysrootdir) {
reply_with_perror ("malloc");
sysrootdir = sysroot_path (dir);
if (!sysrootdir) {
reply_with_perror ("malloc");