Skip to content
Snippets Groups Projects
Commit 6d6d03da authored by Wilke Pierre's avatar Wilke Pierre
Browse files

fix usertests sbrkmuch

parent 0f111bc5
No related branches found
No related tags found
No related merge requests found
......@@ -1654,7 +1654,7 @@ sbrkmuch(char *s)
}
c = sbrk(0);
if(c != a - PGSIZE){
printf("%s: sbrk deallocation produced wrong address, a %x c %x\n", a, c);
printf("%s: sbrk deallocation produced wrong address, a %x c %x\n", s, a, c);
exit(1);
}
......@@ -1662,7 +1662,7 @@ sbrkmuch(char *s)
a = sbrk(0);
c = sbrk(PGSIZE);
if(c != a || sbrk(0) != a + PGSIZE){
printf("%s: sbrk re-allocation failed, a %x c %x\n", a, c);
printf("%s: sbrk re-allocation failed, a %x c %x\n", s, a, c);
exit(1);
}
if(*lastaddr == 99){
......@@ -1674,7 +1674,7 @@ sbrkmuch(char *s)
a = sbrk(0);
c = sbrk(-(sbrk(0) - oldbrk));
if(c != a){
printf("%s: sbrk downsize failed, a %x c %x\n", a, c);
printf("%s: sbrk downsize failed, a %x c %x\n", s, a, c);
exit(1);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment