X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fcommand.c;h=8ad5db5cc8ca5ea443182ac35370b5d495e993d2;hb=7e523077d650cfb71044d5e74aa8fe1f91c019ae;hp=5e870673903e39c9939d4e4afed30dfc338ad645;hpb=5922d7084d6b43f0a1a15b664c7082dfeaf584d0;p=libguestfs.git 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