Make sure that we always return a sensible errno
git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@117 153bfa13-eec0-0310-be40-b0cb6a0e1b4b
diff --git a/libdaemon/dexec.h b/libdaemon/dexec.h
index 4b74f5e..27b5ba1 100644
--- a/libdaemon/dexec.h
+++ b/libdaemon/dexec.h
@@ -42,7 +42,7 @@
* the specified pointer. The calling process is blocked until the
* child finishes and all child output (either STDOUT or STDIN) has
* been written to syslog. Running this function requires that
- * daemon_siginal() has been called with SIGCHLD as argument.
+ * daemon_signal() has been called with SIGCHLD as argument.
*
* @param dir Working directory for the process.
* @param ret A pointer to an integer to write the return value of the program to.