Improve some debug messages

This commit is contained in:
Kevin Lange 2017-01-06 19:34:09 +09:00
parent 252ead4db2
commit 6e0562b78e
2 changed files with 2 additions and 2 deletions

View File

@ -823,7 +823,7 @@ int process_wait_nodes(process_t * process,fs_node_t * nodes[]) {
do {
int result = selectcheck_fs(*n);
if (result < 0) {
debug_print(NOTICE, "An invalid descriptor was specified: %d (0x%x)", index, *n);
debug_print(NOTICE, "An invalid descriptor was specified: %d (0x%x) (pid=%d)", index, *n, current_process->id);
return -1;
}
if (result == 0) {

View File

@ -139,7 +139,7 @@ static uint32_t write_server(fs_node_t * node, uint32_t offset, uint32_t size, u
debug_print(INFO, "Done broadcasting to clients.");
return size;
} else if (head->target->parent != p) {
debug_print(WARNING, "[pex] Invalid packet from server?");
debug_print(WARNING, "[pex] Invalid packet from server? (pid=%d)", current_process->id);
return -1;
}