aboutsummaryrefslogtreecommitdiffstats
path: root/src/log.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-09-04 21:08:35 +0000
committerEric Wong <normalperson@yhbt.net>2007-09-04 21:08:35 +0000
commit7992ff37d084847a92ec7496a7fb5625ac45c569 (patch)
tree707bb4043ebe42880279959eef5cef44e48e29ae /src/log.c
parent146485d0cb65004c9dc5ebbf9ea981a82b9343d4 (diff)
downloadmpd-7992ff37d084847a92ec7496a7fb5625ac45c569.tar.gz
mpd-7992ff37d084847a92ec7496a7fb5625ac45c569.tar.xz
mpd-7992ff37d084847a92ec7496a7fb5625ac45c569.zip
log: oops, fix a syntax error
(yes, it helps to actually compile code before committing it) git-svn-id: https://svn.musicpd.org/mpd/trunk@6851 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index e654d1941..46f35c224 100644
--- a/src/log.c
+++ b/src/log.c
@@ -51,7 +51,7 @@ static void redirect_stdin(void)
struct stat ss;
if ((st = fstat(STDIN_FILENO, &ss)) < 0) {
- if ((fd = open("/dev/null", O_RDONLY) > 0))
+ if ((fd = open("/dev/null", O_RDONLY) > 0)) {
DEBUG("stdin closed, and could not open /dev/null "
"as fd=0, some external library bugs "
"may be exposed...\n");