From 3775671a7a4e710ad545fc742e8cff5654a326dd Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 23 Dec 2015 23:55:04 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/daemonise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)) -- cgit v1.2.3-70-g09d2