]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - command.c
unregister_task(): Set error status to E_TASK_UNREGISTERED
[paraslash.git] / command.c
index 3185533d6ee2617ae784f9dc9395fbf98cd1abfa..458faf884d4b441313b02ced6e137aaca425e933 100644 (file)
--- a/command.c
+++ b/command.c
 #include "afs.h"
 #include "server.h"
 #include "vss.h"
+#include "list.h"
 #include "send.h"
 #include "rc4.h"
 #include "net.h"
 #include "daemon.h"
 #include "fd.h"
-#include "list.h"
 #include "user_list.h"
 #include "server_command_list.h"
 #include "afs_command_list.h"
@@ -578,7 +578,7 @@ out:
  */
 static int check_perms(unsigned int perms, struct server_command *cmd_ptr)
 {
-       PARA_DEBUG_LOG("%s", "checking permissions\n");
+       PARA_DEBUG_LOG("checking permissions\n");
        return (cmd_ptr->perms & perms) < cmd_ptr->perms ? -E_PERM : 0;
 }