X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fhexdump.c;h=7016faf49e373227e401fb6177f36aa441366fd6;hp=27ea108d099724d0c096de33f684875f9375cf8b;hb=fd84feb8229f792e22e3cbfa9bf7e8156947eb2f;hpb=0dd6c8c8442d4ff588f6dac2efab24d3409b0dec diff --git a/daemon/hexdump.c b/daemon/hexdump.c index 27ea108..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, return NULL); - buf = sysroot_path (path); if (!buf) { reply_with_perror ("malloc");