Improve some debug messages
This commit is contained in:
parent
252ead4db2
commit
6e0562b78e
@ -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) {
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user