Skip to content

Commit 86d2538

Browse files
committed
dispatch: fix a couple of printf specifiers
Convert a couple of specifiers to PRI* style to make them portable.
1 parent e9335dd commit 86d2538

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
@@ -1045,7 +1045,7 @@ _dispatch_bug_kevent_vanished(dispatch_unote_t du)
10451045
_dispatch_log_fault("LIBDISPATCH_STRICT: _dispatch_bug_kevent_vanished",
10461046
"BUG in libdispatch client: %s, monitored resource vanished before "
10471047
"the source cancel handler was invoked "
1048-
"{ %p[%s], ident: %d / 0x%x, handler: %p }",
1048+
"{ %p[%s], ident: %" PRIdPTR " / 0x%" PRIxPTR ", handler: %p }",
10491049
dux_type(du._du)->dst_kind, dou._dq,
10501050
dou._dq->dq_label ? dou._dq->dq_label : "<unknown>",
10511051
du._du->du_ident, du._du->du_ident, func);

0 commit comments

Comments
 (0)