summaryrefslogtreecommitdiff
path: root/sysproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysproc.c')
-rw-r--r--sysproc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysproc.c b/sysproc.c
index 329feee..82ad884 100644
--- a/sysproc.c
+++ b/sysproc.c
@@ -39,6 +39,7 @@ sys_sbrk(void)
if(argint(0, &n) < 0)
return -1;
+ printf("sbrk(%d), sz was %d\n", n, (int)myproc()->sz);
addr = myproc()->sz;
if(growproc(n) < 0)
return -1;