mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-29 08:01:03 +03:00
Remove get_error() in windows.rs
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -266,7 +266,7 @@ impl PrivacyModeImpl {
|
||||
CloseHandle(token);
|
||||
if 0 == create_res {
|
||||
bail!(
|
||||
"Failed to create privacy window process {}, error {:?}",
|
||||
"Failed to create privacy window process {}, error {}",
|
||||
cmdline,
|
||||
Error::last_os_error()
|
||||
);
|
||||
@@ -284,7 +284,7 @@ impl PrivacyModeImpl {
|
||||
CloseHandle(proc_info.hProcess);
|
||||
|
||||
bail!(
|
||||
"Failed to create privacy window process, error {:?}",
|
||||
"Failed to create privacy window process, error {}",
|
||||
Error::last_os_error()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user