Skip to content

Commit b484dfe

Browse files
committed
Refix ios-control#25 - format specifier was wrong (expected NSString format specifier, not C format specifier)
1 parent 5867d02 commit b484dfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/iPhoneSimulator.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ - (void)stdioDataIsAvailable:(NSNotification *)notification {
103103
if ([notification object] == stdoutFileHandle) {
104104
printf("%s", [str UTF8String]);
105105
} else {
106-
nsprintf(@"%s", str);
106+
nsprintf(@"%@", str);
107107
}
108108
}
109109

0 commit comments

Comments
 (0)