X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fhexdump.c;h=7016faf49e373227e401fb6177f36aa441366fd6;hb=abac360f324d8c881878c5d9b7fb64be93981125;hp=e2d8300e7366b5302f44982c1bf7118f3be58186;hpb=78029b529ad98769685d607230b70f71832d5906;p=libguestfs.git diff --git a/daemon/hexdump.c b/daemon/hexdump.c index e2d8300..7016faf 100644 --- a/daemon/hexdump.c +++ b/daemon/hexdump.c @@ -26,15 +26,12 @@ #include "actions.h" char * -do_hexdump (char *path) +do_hexdump (const char *path) { char *buf; int r; char *out, *err; - NEED_ROOT (NULL); - ABS_PATH (path, NULL); - buf = sysroot_path (path); if (!buf) { reply_with_perror ("malloc");