git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/generator.ml: Change all `String "device"' to `Device "device"'.
[libguestfs.git]
/
daemon
/
stat.c
diff --git
a/daemon/stat.c
b/daemon/stat.c
index
da360ce
..
da2d274
100644
(file)
--- a/
daemon/stat.c
+++ b/
daemon/stat.c
@@
-38,7
+38,7
@@
do_stat (char *path)
struct stat statbuf;
NEED_ROOT (NULL);
struct stat statbuf;
NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ ABS_PATH (path,
return
NULL);
CHROOT_IN;
r = stat (path, &statbuf);
CHROOT_IN;
r = stat (path, &statbuf);
@@
-80,7
+80,7
@@
do_lstat (char *path)
struct stat statbuf;
NEED_ROOT (NULL);
struct stat statbuf;
NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ ABS_PATH (path,
return
NULL);
CHROOT_IN;
r = lstat (path, &statbuf);
CHROOT_IN;
r = lstat (path, &statbuf);
@@
-122,7
+122,7
@@
do_statvfs (char *path)
struct statvfs statbuf;
NEED_ROOT (NULL);
struct statvfs statbuf;
NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ ABS_PATH (path,
return
NULL);
CHROOT_IN;
r = statvfs (path, &statbuf);
CHROOT_IN;
r = statvfs (path, &statbuf);