diff --git a/src/init.c b/src/init.c index 0aff191f0..3e6226d60 100644 --- a/src/init.c +++ b/src/init.c @@ -586,7 +586,7 @@ _dispatch_syslog(const char *msg) static inline void _dispatch_vsyslog(const char *msg, va_list ap) { - vsyslog(LOG_NOTICE, msg, *ap_ptr); + vsyslog(LOG_NOTICE, msg, ap); } #endif // DISPATCH_USE_SIMPLE_ASL diff --git a/src/shims/tsd.h b/src/shims/tsd.h index cf5238512..40c4a583e 100644 --- a/src/shims/tsd.h +++ b/src/shims/tsd.h @@ -90,7 +90,7 @@ extern pthread_key_t dispatch_introspection_key; #elif DISPATCH_PERF_MON extern pthread_key_t dispatch_bcounter_key; #endif -exern pthread_key_t dispatch_pthread_root_queue_observer_hooks_key; +extern pthread_key_t dispatch_pthread_root_queue_observer_hooks_key; DISPATCH_TSD_INLINE static inline void