mirror of
https://github.com/GerbilSoft/rvthtool.git
synced 2025-06-18 19:45:35 -04:00
[wadresign] resign-wad.cpp: Fix fputs() shenanigans.
This commit is contained in:
parent
69faaee2fc
commit
eeb9ae7b67
@ -789,7 +789,7 @@ int resign_wad(const TCHAR *src_wad, const TCHAR *dest_wad, int recrypt_key, int
|
||||
if (err == 0) {
|
||||
err = EIO;
|
||||
}
|
||||
fputs(stderr, "*** ERROR writing destination WAD data: ");
|
||||
fputs("*** ERROR writing destination WAD data: ", stderr);
|
||||
_fputts(_tcserror(err), stderr);
|
||||
fputc('\n', stderr);
|
||||
ret = -err;
|
||||
@ -811,7 +811,7 @@ int resign_wad(const TCHAR *src_wad, const TCHAR *dest_wad, int recrypt_key, int
|
||||
if (err == 0) {
|
||||
err = EIO;
|
||||
}
|
||||
fputs(stderr, "*** ERROR reading source WAD metadata: ");
|
||||
fputs("*** ERROR reading source WAD metadata: ", stderr);
|
||||
_fputts(_tcserror(err), stderr);
|
||||
fputc('\n', stderr);
|
||||
ret = -err;
|
||||
@ -830,7 +830,7 @@ int resign_wad(const TCHAR *src_wad, const TCHAR *dest_wad, int recrypt_key, int
|
||||
if (err == 0) {
|
||||
err = EIO;
|
||||
}
|
||||
fputs(stderr, "*** ERROR writing destination WAD metadata: ");
|
||||
fputs("*** ERROR writing destination WAD metadata: ", stderr);
|
||||
_fputts(_tcserror(err), stderr);
|
||||
fputc('\n', stderr);
|
||||
ret = -err;
|
||||
@ -858,7 +858,7 @@ int resign_wad(const TCHAR *src_wad, const TCHAR *dest_wad, int recrypt_key, int
|
||||
if (err == 0) {
|
||||
err = EIO;
|
||||
}
|
||||
fputs(stderr, "*** ERROR writing destination WAD padding: ");
|
||||
fputs("*** ERROR writing destination WAD padding: ", stderr);
|
||||
_fputts(_tcserror(err), stderr);
|
||||
fputc('\n', stderr);
|
||||
ret = -err;
|
||||
|
Loading…
Reference in New Issue
Block a user