X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fdebug.c;h=11a26c3c90b7073db431fe045f1bbfc87dbc0583;hb=d911b50bcb804c22d2a28e10d699515681e5e249;hp=0867ccd7575589333608341d2f398cc957bf9b8f;hpb=87e49e7e87e570537f04e34178c9c6d2b876c16c;p=libguestfs.git diff --git a/daemon/debug.c b/daemon/debug.c index 0867ccd..11a26c3 100644 --- a/daemon/debug.c +++ b/daemon/debug.c @@ -394,6 +394,6 @@ do_debug_upload (const char *filename MAYBE_UNUSED, int mode MAYBE_UNUSED) return 0; #else reply_with_error ("guestfsd was not configured with --enable-debug-command"); - return NULL; + return -1; #endif }