summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/daemon.c
diff options
context:
space:
mode:
authormarco <marco@openbsd.org>2010-07-27 22:29:09 +0000
committermarco <marco@openbsd.org>2010-07-27 22:29:09 +0000
commitba6d9a7a0e17afca8259d5ccfca05a4edda863e8 (patch)
treeb4809e6e5ddf084d695eee89451ebb542b2175c3 /lib/libc/gen/daemon.c
parenthorrific indentation that nearly made me puke (diff)
downloadwireguard-openbsd-ba6d9a7a0e17afca8259d5ccfca05a4edda863e8.tar.xz
wireguard-openbsd-ba6d9a7a0e17afca8259d5ccfca05a4edda863e8.zip
Remove a stray space. No binary change.
Diffstat (limited to 'lib/libc/gen/daemon.c')
-rw-r--r--lib/libc/gen/daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/daemon.c b/lib/libc/gen/daemon.c
index e1dc98e10b2..79f426473cf 100644
--- a/lib/libc/gen/daemon.c
+++ b/lib/libc/gen/daemon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: daemon.c,v 1.6 2005/08/08 08:05:33 espie Exp $ */
+/* $OpenBSD: daemon.c,v 1.7 2010/07/27 22:29:09 marco Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -58,7 +58,7 @@ daemon(int nochdir, int noclose)
(void)dup2(fd, STDOUT_FILENO);
(void)dup2(fd, STDERR_FILENO);
if (fd > 2)
- (void)close (fd);
+ (void)close(fd);
}
return (0);
}