Don't print events that happen often
This commit is contained in:
parent
700641afb8
commit
e894c9e1b5
1 changed files with 2 additions and 3 deletions
|
@ -146,7 +146,6 @@ PUBLIC int pm_exec(int proc_e, char *path, vir_bytes path_len, char *frame,
|
||||||
|
|
||||||
/* Fetch the stack from the user before destroying the old core image. */
|
/* Fetch the stack from the user before destroying the old core image. */
|
||||||
if (frame_len > ARG_MAX) {
|
if (frame_len > ARG_MAX) {
|
||||||
printf("VFS: pm_exec: stack too big\n");
|
|
||||||
r = ENOMEM; /* stack too big */
|
r = ENOMEM; /* stack too big */
|
||||||
goto pm_execfinal;
|
goto pm_execfinal;
|
||||||
}
|
}
|
||||||
|
@ -208,8 +207,8 @@ PUBLIC int pm_exec(int proc_e, char *path, vir_bytes path_len, char *frame,
|
||||||
/* Get fresh copy of the file name. */
|
/* Get fresh copy of the file name. */
|
||||||
if ((r = fetch_name(path, path_len, 0, fullpath)) != OK)
|
if ((r = fetch_name(path, path_len, 0, fullpath)) != OK)
|
||||||
printf("VFS pm_exec: 2nd fetch_name failed\n");
|
printf("VFS pm_exec: 2nd fetch_name failed\n");
|
||||||
else if ((r = patch_stack(vp, mbuf, &frame_len, fullpath)) != OK)
|
else
|
||||||
printf("VFS pm_exec: patch_stack failed\n");
|
r = patch_stack(vp, mbuf, &frame_len, fullpath);
|
||||||
|
|
||||||
unlock_vnode(vp);
|
unlock_vnode(vp);
|
||||||
put_vnode(vp);
|
put_vnode(vp);
|
||||||
|
|
Loading…
Reference in a new issue