generator.ml: use new "Pathname" designation
[libguestfs.git] / daemon / hexdump.c
index faf3dc5..7016faf 100644 (file)
 #include "actions.h"
 
 char *
-do_hexdump (char *path)
+do_hexdump (const char *path)
 {
   char *buf;
   int r;
   char *out, *err;
 
-  NEED_ROOT (return NULL);
-  ABS_PATH (path, return NULL);
-
   buf = sysroot_path (path);
   if (!buf) {
     reply_with_perror ("malloc");