aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemonise.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-23 23:55:04 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-23 23:55:04 +0100
commit3775671a7a4e710ad545fc742e8cff5654a326dd (patch)
tree358a023cff4587356e9133abd5204cce2c0faa7e /src/daemonise.c
parentdaemonise (diff)
downloadsat-3775671a7a4e710ad545fc742e8cff5654a326dd.tar.gz
sat-3775671a7a4e710ad545fc742e8cff5654a326dd.tar.bz2
sat-3775671a7a4e710ad545fc742e8cff5654a326dd.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/daemonise.c')
-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))