musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/misc/syslog.c 5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/misc/syslog.c b/src/misc/syslog.c
index eb782984..6d2a864a 100644
--- a/src/misc/syslog.c
+++ b/src/misc/syslog.c
@@ -82,10 +82,7 @@ static void _vsyslog(int priority, const char *message, va_list ap)
int l, l2;
int hlen;
- if (log_fd < 0) {
- __openlog();
- if (log_fd < 0) return;
- }
+ if (log_fd < 0) __openlog();
if (!(priority & LOG_FACMASK)) priority |= log_facility;
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月20日 10:47:30 +0000

AltStyle によって変換されたページ (->オリジナル) /