From 7992ff37d084847a92ec7496a7fb5625ac45c569 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 4 Sep 2007 21:08:35 +0000 Subject: 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 --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"); -- cgit v1.2.3