diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-09-04 21:08:35 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2007-09-04 21:08:35 +0000 |
commit | 7992ff37d084847a92ec7496a7fb5625ac45c569 (patch) | |
tree | 707bb4043ebe42880279959eef5cef44e48e29ae /src | |
parent | 146485d0cb65004c9dc5ebbf9ea981a82b9343d4 (diff) | |
download | mpd-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 'src')
-rw-r--r-- | src/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |