aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/satd-add.c')
-rw-r--r--src/satd-add.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/satd-add.c b/src/satd-add.c
index aa7dde0..5afcf2d 100644
--- a/src/satd-add.c
+++ b/src/satd-add.c
@@ -26,10 +26,9 @@
/**
* Subroutine to the sat daemon: add job.
*
- * @param argc Should be 4.
+ * @param argc Should be 3.
* @param argv The name of the process, the pathname of the socket,
- * the pathname to the state file, and $SAT_HOOK_PATH
- * (the pathname of the hook-script.)
+ * and the pathname to the state file.
* @return 0 The process was successful.
* @return 1 The process failed queuing the job.
*/
@@ -40,7 +39,7 @@ main(int argc, char *argv[])
char *message = NULL;
int msg_argc;
- assert(argc == 4);
+ assert(argc == 3);
t (reopen(STATE_FILENO, O_RDWR));
/* Receive and validate message. */