#include "map.h" /* for Map struct */
#include "keybindings.h" /* for KeysWinData, KeyBinding structs */
-#include "errno.h"
-
/* The clean-up routine and the flag resource by which it decides what to do. */
static uint8_t cleanup_flags = 0x00;
cleanup(world);
if (NULL == msg)
{
- msg = "Some error encountered. Aborted.";
+ msg = "Details unknown.";
}
- printf("%s\n", msg);
- errno = 0;
+ printf("Aborted PlomRogue due to error. %s\n", msg);
perror("errno states");
exit(EXIT_FAILURE);
}