Skip to content

Commit 2c5f56c

Browse files
dgrove-ossdas
authored andcommitted
Fix what looks to be a typo in _dispatch_vsyslog
Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
1 parent 6630198 commit 2c5f56c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ _dispatch_syslog(const char *msg)
586586
static inline void
587587
_dispatch_vsyslog(const char *msg, va_list ap)
588588
{
589-
vsyslog(LOG_NOTICE, msg, *ap_ptr);
589+
vsyslog(LOG_NOTICE, msg, ap);
590590
}
591591
#endif // DISPATCH_USE_SIMPLE_ASL
592592

0 commit comments

Comments
 (0)