diff options
Diffstat (limited to 'src/sim/syscall_emul.cc')
-rw-r--r-- | src/sim/syscall_emul.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/syscall_emul.cc b/src/sim/syscall_emul.cc index 4cf17a266..8736176ed 100644 --- a/src/sim/syscall_emul.cc +++ b/src/sim/syscall_emul.cc @@ -889,7 +889,7 @@ setpgidFunc(SyscallDesc *desc, int callnum, Process *process, return 0; } - Process *matched_ph = NULL; + Process *matched_ph = nullptr; System *sysh = tc->getSystemPtr(); // Retrieves process pointer from active/suspended thread contexts. @@ -903,7 +903,7 @@ setpgidFunc(SyscallDesc *desc, int callnum, Process *process, } } - assert(matched_ph != NULL); + assert(matched_ph); matched_ph->setpgid((pgid == 0) ? matched_ph->pid() : pgid); return 0; |