creport: address review commentary
This commit is contained in:
1 parent
00e3d874e3
commit
4cc2b5c38a
5 files changed
+13
-46
No files matched your search
@@ -108,8 +108,8 @@ int main(int argc, char **argv) {
|
||||
|
||||
/* Try to terminate the process. */
|
||||
{
|
||||
auto ns_holder = sts::sm::ScopedServiceHolder<nsdevInitialize, nsdevExit>();
|
||||
if (R_SUCCEEDED(ns_holder.GetResult())) {
|
||||
sts::sm::ScopedServiceHolder<nsdevInitialize, nsdevExit> ns_holder;
|
||||
if (ns_holder) {
|
||||
nsdevTerminateProcess(crashed_pid);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user