Skip to content

Commit d14663f

Browse files
triplefrokhinip
authored andcommitted
Fix printf format macro for dsema_value
Signed-off-by: Kim Topley <ktopley@apple.com>
1 parent b716283 commit d14663f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/semaphore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ _dispatch_semaphore_debug(dispatch_object_t dou, char *buf, size_t bufsiz)
7676
dsema->dsema_sema);
7777
#endif
7878
offset += dsnprintf(&buf[offset], bufsiz - offset,
79-
"value = %ld, orig = %" PRIdPTR " }", dsema->dsema_value, dsema->dsema_orig);
79+
"value = %" PRIdPTR ", orig = %" PRIdPTR " }", dsema->dsema_value, dsema->dsema_orig);
8080
return offset;
8181
}
8282

File renamed without changes.

0 commit comments

Comments
 (0)