Skip to content

Commit 00c631c

Browse files
committed
Fix a bug in a test.
1 parent a9acb9c commit 00c631c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Test/objc_msgSend.m

+1-3
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,8 @@ + (void)printf: (const char*)str, ...
8484

8585
va_start(ap, str);
8686

87-
vsnprintf(&s, 100, str, ap);
87+
vsnprintf(s, 100, str, ap);
8888
va_end(ap);
89-
fprintf(stderr, "String: '%s'\n", s);
90-
vfprintf(stderr, s, ap);
9189
assert(strcmp(s, "Format string 42 42.000000\n") ==0);
9290
}
9391
+ (void)initialize

0 commit comments

Comments
 (0)