Skip to content

Commit ccef90b

Browse files
compnerdrokhinip
authored andcommitted
dispatch: fix a couple of printf specifiers
Convert a couple of specifiers to PRI* style to make them portable. Signed-off-by: Kim Topley <[email protected]>
1 parent 309163b commit ccef90b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ _dispatch_bug_kevent_vanished(dispatch_unote_t du)
10541054
_dispatch_log_fault("LIBDISPATCH_STRICT: _dispatch_bug_kevent_vanished",
10551055
"BUG in libdispatch client: %s, monitored resource vanished before "
10561056
"the source cancel handler was invoked "
1057-
"{ %p[%s], ident: %d / 0x%x, handler: %p }",
1057+
"{ %p[%s], ident: %" PRIdPTR " / 0x%" PRIxPTR ", handler: %p }",
10581058
dux_type(du._du)->dst_kind, dou._dq,
10591059
dou._dq->dq_label ? dou._dq->dq_label : "<unknown>",
10601060
du._du->du_ident, du._du->du_ident, func);
File renamed without changes.

0 commit comments

Comments
 (0)