* signal.cc (sigprocmask): Fix strace output to include "how".

* fhandler_console.cc (dev_console::save_restore): Only current dwEnd line
rather than the one after that.
This commit is contained in:
Christopher Faylor
2014-05-09 14:28:48 +00:00
parent 7bc7b551f5
commit fb1565af68
3 changed files with 15 additions and 6 deletions

View File

@@ -183,7 +183,7 @@ sigprocmask (int how, const sigset_t *set, sigset_t *oldset)
set_errno (res);
res = -1;
}
syscall_printf ("%R = sigprocmask (%d, %p, %p)", res, set, oldset);
syscall_printf ("%R = sigprocmask (%d, %p, %p)", res, how, set, oldset);
return res;
}