diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2004-12-24 09:48:44 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2004-12-24 09:48:44 +0000 |
| commit | 8ba85e7741672243b8d1f90d5dbd8491be541b9f (patch) | |
| tree | 7dd290c8c5cbb075da04f770dabab4dbe040e3a4 /lib | |
| parent | 77bb8ca4a3d24776bddd0296128a5ad129bd4f82 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/gen/syslog.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/syslog.c b/lib/libc/gen/syslog.c index 93c41468a77f..76a3a5b95dc4 100644 --- a/lib/libc/gen/syslog.c +++ b/lib/libc/gen/syslog.c @@ -273,11 +273,12 @@ vsyslog(pri, fmt, ap) do { usleep(1); if (send(LogFile, tbuf, cnt, 0) >= 0) - break; + return; if (status == CONNPRIV) break; } while (errno == ENOBUFS); - } + } else + return; /* * Output the message to the console; try not to block |
