Skip to content

Commit

Permalink
Added LF in mserror
Browse files Browse the repository at this point in the history
  • Loading branch information
qpernil committed Oct 20, 2021
1 parent 069f67d commit 455659e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aes_cmac/aes.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static void mserror(const char *str, int err) {
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_FROM_HMODULE |
FORMAT_MESSAGE_IGNORE_INSERTS,
module, err, 0, errbuf, _countof(errbuf), NULL);
fprintf(stderr, "%s: (0x%08X) %ws", str, err, errbuf);
fprintf(stderr, "%s: (0x%08X) %ws\n", str, err, errbuf);
FreeLibrary(module);
}

Expand Down
2 changes: 1 addition & 1 deletion common/ecdh.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static void mserror(const char *str, int err) {
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_FROM_HMODULE |
FORMAT_MESSAGE_IGNORE_INSERTS,
module, err, 0, errbuf, _countof(errbuf), NULL);
fprintf(stderr, "%s: (0x%08X) %ws", str, err, errbuf);
fprintf(stderr, "%s: (0x%08X) %ws\n", str, err, errbuf);
if (module)
FreeLibrary(module);
}
Expand Down

0 comments on commit 455659e

Please sign in to comment.