diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-30 16:17:12 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-30 16:17:12 +0100 |
commit | c7f6bea3f8ef9509efca68f6ebbfc2fd71ff9758 (patch) | |
tree | 6d5f9472569b6478067f7ff534892f85054cb16f | |
parent | m (diff) | |
download | sat-c7f6bea3f8ef9509efca68f6ebbfc2fd71ff9758.tar.gz sat-c7f6bea3f8ef9509efca68f6ebbfc2fd71ff9758.tar.bz2 sat-c7f6bea3f8ef9509efca68f6ebbfc2fd71ff9758.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r-- | src/daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon.c b/src/daemon.c index decd23e..830beca 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -287,7 +287,7 @@ run_job_or_hook(struct job *job, const char *hook) argv = new; memmove(argv + 2, argv, ((size_t)(job->argc) + 1) * sizeof(*argv)); argv[0] = getenv("SAT_HOOK_PATH"); - argv[1] = strstr(hook, hook); /* strstr: just to remove a warning */ + argv[1] = (strstr)(hook, hook); /* strstr: just to remove a warning */ } switch ((pid = fork())) { |