mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Reports also numeric errno in Windows.
This commit is contained in:
parent
21a88175d5
commit
4a09094f60
1 changed files with 1 additions and 1 deletions
|
|
@ -1448,7 +1448,7 @@ const char* windows_strerror(int err)
|
|||
if (!last_error)
|
||||
return str;
|
||||
|
||||
snprintf(last_error, len, "%s [%u]", str, (unsigned)GetLastError());
|
||||
snprintf(last_error, len, "%s [%d/%u]", str, err, (unsigned)GetLastError());
|
||||
return last_error;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue