aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/daemonise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemonise.c b/src/daemonise.c
index 8d6ec77..d98e134 100644
--- a/src/daemonise.c
+++ b/src/daemonise.c
@@ -156,7 +156,7 @@ int daemonise(const char* name, int flags)
return errno = EINVAL, -1;
- /* Close all files except stdin, stdou, and stderr. */
+ /* Close all files except stdin, stdout, and stderr. */
if ((flags & DAEMONISE_NO_CLOSE) == 0)
{
if (getrlimit(RLIMIT_NOFILE, &rlimit))