summaryrefslogtreecommitdiffstats
path: root/daemon/daemon.h
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-10 18:54:51 +0200
committerJim Meyering <meyering@redhat.com>2009-08-13 14:45:33 +0200
commite8795f3e9cc7e60a5ad709c0e3b53f60e37fd6c0 (patch)
treeae0857fb52d722080b0263d6b73064db3ce99ed4 /daemon/daemon.h
parent1997858e90da728287ef26a6d01a5766ac914312 (diff)
downloadlibguestfs-e8795f3e9cc7e60a5ad709c0e3b53f60e37fd6c0.tar.gz
libguestfs-e8795f3e9cc7e60a5ad709c0e3b53f60e37fd6c0.tar.xz
libguestfs-e8795f3e9cc7e60a5ad709c0e3b53f60e37fd6c0.zip
convert the last few, manually
Diffstat (limited to 'daemon/daemon.h')
-rw-r--r--daemon/daemon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/daemon.h b/daemon/daemon.h
index 166f3bf9..bebc86f1 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -174,7 +174,7 @@ extern void reply (xdrproc_t xdrp, char *ret);
#define NEED_ROOT_OR_IS_DEVICE(path,errcode) \
do { \
if (strncmp ((path), "/dev/", 5) == 0) \
- IS_DEVICE ((path),(errcode)); \
+ RESOLVE_DEVICE ((path), return errcode); \
else { \
NEED_ROOT ((errcode)); \
ABS_PATH ((path),(errcode)); \