X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fcommand.c;h=5a194a4e26ef49826d4ee8072f82619113b1a305;hb=805e6dbc15eae5a4f85eea3c37e295aefaefeb69;hp=48bed2de0262760f49e944b119632f6907c6e459;hpb=dc706a639eec16084c0618baf7bfde00c6565f63;p=libguestfs.git diff --git a/daemon/command.c b/daemon/command.c index 48bed2d..5a194a4 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 (0, return NULL); + NEED_ROOT (, return NULL); /* Conveniently, argv is already a NULL-terminated argv-style array * of parameters, so we can pass it straight in to our internal