diff options
author | eadler <eadler@FreeBSD.org> | 2012-06-24 07:03:22 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-06-24 07:03:22 +0000 |
commit | 9cba418e868726b4092b50e998325d9357dcae05 (patch) | |
tree | b9f6c979bf6b188a95df9e340af01c0162df0c3c /lib/libc | |
parent | a5794ac4d0b0d5211c1507b206f5982a3448b0dd (diff) | |
download | FreeBSD-src-9cba418e868726b4092b50e998325d9357dcae05.zip FreeBSD-src-9cba418e868726b4092b50e998325d9357dcae05.tar.gz |
Remove the assert added in r237286
The use of assertions in libraries is not widely accepted.
Requested by: bde, scottl
Approved by: cperciva
MFC after: 3 days
X-MFC-With: r237286
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/syslog.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/gen/syslog.c b/lib/libc/gen/syslog.c index 52a0782..99308e9 100644 --- a/lib/libc/gen/syslog.c +++ b/lib/libc/gen/syslog.c @@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$"); #include <sys/un.h> #include <netdb.h> -#include <assert.h> #include <errno.h> #include <fcntl.h> #include <paths.h> @@ -414,7 +413,6 @@ void closelog(void) { THREAD_LOCK(); - assert(LogFile >= -1); if (LogFile != -1) { (void)_close(LogFile); LogFile = -1; |