summaryrefslogtreecommitdiffstats
path: root/daemon/upload.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-10 19:10:14 +0200
committerJim Meyering <meyering@redhat.com>2009-08-13 14:45:34 +0200
commitfc266e5ab8c4f013d0e473029c5e0b4cd32cca92 (patch)
tree05c951a357c89cfcb8dc5d6dcaed537698ac2ce1 /daemon/upload.c
parentecd828beb250648541492a69a188a71305897e4e (diff)
downloadlibguestfs-fc266e5ab8c4f013d0e473029c5e0b4cd32cca92.tar.gz
libguestfs-fc266e5ab8c4f013d0e473029c5e0b4cd32cca92.tar.xz
libguestfs-fc266e5ab8c4f013d0e473029c5e0b4cd32cca92.zip
s/NEED_ROOT_OR_IS_DEVICE/REQUIRE_ROOT_OR_RESOLVE_DEVICE/
Diffstat (limited to 'daemon/upload.c')
-rw-r--r--daemon/upload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/upload.c b/daemon/upload.c
index 7815e234..5c1adaf6 100644
--- a/daemon/upload.c
+++ b/daemon/upload.c
@@ -93,7 +93,7 @@ do_download (char *filename)
int fd, r, is_dev;
char buf[GUESTFS_MAX_CHUNK_SIZE];
- NEED_ROOT_OR_IS_DEVICE (filename, return -1);
+ REQUIRE_ROOT_OR_RESOLVE_DEVICE (filename, return -1);
is_dev = strncmp (filename, "/dev/", 5) == 0;