diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2020-04-01 20:31:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-01 20:31:43 -0400 |
commit | 0b1d84fdf590bf8cacc5d0f94b67f63daa9b768a (patch) | |
tree | d2ff261148f9ef21f2e860af43f795df911c5c79 /src/app/process_killer.rs | |
parent | c1a19f960fc1b348dd4465fe9a4d698bed229c77 (diff) |
Add modularity to widget placement and inclusion (#95)
Diffstat (limited to 'src/app/process_killer.rs')
-rw-r--r-- | src/app/process_killer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/process_killer.rs b/src/app/process_killer.rs index db284100..05faf945 100644 --- a/src/app/process_killer.rs +++ b/src/app/process_killer.rs @@ -21,7 +21,7 @@ impl Process { fn open(pid: DWORD) -> Result<Process, String> { let pc = unsafe { OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_TERMINATE, 0, pid) }; if pc.is_null() { - return Err("!OpenProcess".to_string()); + return Err("OpenProcess".to_string()); } Ok(Process(pc)) } |