X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fcommand.c;h=8ad5db5cc8ca5ea443182ac35370b5d495e993d2;hp=5e870673903e39c9939d4e4afed30dfc338ad645;hb=8022d46e5e2d9c3ab664ace6c9f185976e34dc20;hpb=5922d7084d6b43f0a1a15b664c7082dfeaf584d0 diff --git a/daemon/command.c b/daemon/command.c index 5e87067..8ad5db5 100644 --- a/daemon/command.c +++ b/daemon/command.c @@ -22,7 +22,7 @@ #include #include -#include "../src/guestfs_protocol.h" +#include "guestfs_protocol.h" #include "daemon.h" #include "actions.h" @@ -36,7 +36,7 @@ do_command (char *const *argv) int dev_ok, dev_pts_ok, proc_ok, selinux_ok, sys_ok; /* We need a root filesystem mounted to do this. */ - NEED_ROOT (, return NULL); + NEED_ROOT (0, return NULL); /* Conveniently, argv is already a NULL-terminated argv-style array * of parameters, so we can pass it straight in to our internal