X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;f=src%2Frexit.c;h=71ec130bb74fd034f4bee458c396b9e3c04339a6;hb=7914b82edaf2df6c402ca3258314a2aabad58251;hp=31cf3ee724c47b5d0b2184484cae0c180de831a5;hpb=f99786b7ced5d2c79473ce9c57c683f74c706da0;p=plomrogue
diff --git a/src/rexit.c b/src/rexit.c
index 31cf3ee..71ec130 100644
--- a/src/rexit.c
+++ b/src/rexit.c
@@ -72,7 +72,8 @@ extern void exit_err(uint8_t err, struct World * world, char * msg)
{
msg = "Details unknown.";
}
- printf("Aborted PlomRogue due to error. %s\n", msg);
+ printf("Aborted PlomRogue due to error. %s\nInternal error code: %d\n",
+ msg, err);
if (0 != errno)
{
perror("errno states");