git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
adjust const "**" pointers to avoid warnings
[libguestfs.git]
/
daemon
/
file.c
diff --git
a/daemon/file.c
b/daemon/file.c
index
ed3221d
..
212aff2
100644
(file)
--- a/
daemon/file.c
+++ b/
daemon/file.c
@@
-361,8
+361,6
@@
do_file (const char *path)
char *buf;
int len;
- REQUIRE_ROOT_OR_RESOLVE_DEVICE (path, return NULL);
-
if (strncmp (path, "/dev/", 5) == 0)
buf = (char *) path;
else {