Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Write module name/pid in ioprovide
  • Loading branch information
djphoenix committed May 26, 2019
1 parent 08a1f64 commit d6d7926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/syscall.cpp
Expand Up @@ -40,7 +40,7 @@ static void syscall_kread(void *out, const void *kaddr, size_t size) {
static void syscall_ioprovide(const char *path, const void *ptr) {
Process *process = ProcessManager::getManager()->currentProcess();
char *str = process->readString(uintptr_t(path));
printf("ioprovide [%p] [%s]\n", ptr, str);
printf("ioprovide [%s(%#lx) / %p] [%s]\n", process->getName(), process->getId(), ptr, str);
delete str;
}

Expand Down

0 comments on commit d6d7926

Please sign in to comment.