linuxOS_AP05/buildroot/package/bluez-alsa/0007-bluealsa-log-to-syslog.patch
2025-06-02 13:59:07 +08:00

23 lines
507 B
Diff

diff --git a/src/shared/log.c b/src/shared/log.c
index 65f0fea..b202d22 100644
--- a/src/shared/log.c
+++ b/src/shared/log.c
@@ -50,12 +50,12 @@ static void vlog(int priority, const char *format, va_list ap) {
* has to be temporally disabled. */
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &oldstate);
- if (_syslog) {
+ //if (_syslog) {
va_list ap_syslog;
va_copy(ap_syslog, ap);
vsyslog(priority, format, ap_syslog);
va_end(ap_syslog);
- }
+ //}
flockfile(stderr);
--
2.17.1