Add error messages when controlled_exit is called:

No exit without message.
This commit is contained in:
Holger Vogt
2022-12-11 15:29:47 +01:00
parent 75c2a3c621
commit 59413a7f71
7 changed files with 23 additions and 7 deletions
+1
View File
@@ -110,6 +110,7 @@ char *tvprintf(const char *fmt, va_list args)
* memory was exhausted) with the old behavior */
if (nchars < 0) {
fprintf(stderr, "Error: tvprintf failed\n");
controlled_exit(-1);
}