diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/misc/syslog/syslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/syslog/syslog.c b/libc/misc/syslog/syslog.c index c4333b9b5..531438b54 100644 --- a/libc/misc/syslog/syslog.c +++ b/libc/misc/syslog/syslog.c @@ -276,7 +276,7 @@ openlog( const char *ident, int logstat, int logfac ) (void)strncpy(SyslogAddr.sa_data, _PATH_LOG, sizeof(SyslogAddr.sa_data)); if (LogStat & LOG_NDELAY) { - if ((LogFile = socket(AF_UNIX, SOCK_STREAM, 0)) == -1){ + if ((LogFile = socket(AF_UNIX, SOCK_DGRAM, 0)) == -1){ UNLOCK; return; } |