git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s/NEED_ROOT_OR_IS_DEVICE/REQUIRE_ROOT_OR_RESOLVE_DEVICE/
[libguestfs.git]
/
daemon
/
file.c
diff --git
a/daemon/file.c
b/daemon/file.c
index
9cc324f
..
2ba2aab
100644
(file)
--- a/
daemon/file.c
+++ b/
daemon/file.c
@@
-391,7
+391,7
@@
do_file (char *path)
char *buf;
int len;
-
NEED_ROOT_OR_IS
_DEVICE (path, return NULL);
+
REQUIRE_ROOT_OR_RESOLVE
_DEVICE (path, return NULL);
if (strncmp (path, "/dev/", 5) == 0)
buf = (char *) path;