fix a invalid printf format string

This commit is contained in:
flespark 2021-01-03 21:07:12 +08:00 committed by Frans Kaashoek
parent 1226b09dc4
commit 49f1e2f888

View file

@ -2121,7 +2121,7 @@ sbrkbasic(char *s)
for(i = 0; i < 5000; i++){
b = sbrk(1);
if(b != a){
printf("%s: sbrk test failed %d %x %x\n", i, a, b);
printf("%s: sbrk test failed %d %x %x\n", s, i, a, b);
exit(1);
}
*b = 1;