home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved error message phrasings.
[plomrogue]
/
src
/
rexit.c
diff --git
a/src/rexit.c
b/src/rexit.c
index 802de341f44c98e09e61c6eab8510a2830b51eb4..d8defc2b4a34a7c5cae5d6896e597566e4698073 100644
(file)
--- a/
src/rexit.c
+++ b/
src/rexit.c
@@
-68,9
+68,9
@@
extern void exit_err(uint8_t err, struct World * world, char * msg)
cleanup(world);
if (NULL == msg)
{
cleanup(world);
if (NULL == msg)
{
- msg = "
Some error encountered. Aborted
.";
+ msg = "
Details unknown
.";
}
}
- printf("%s\n", msg);
+ printf("
Aborted PlomRogue due to error.
%s\n", msg);
perror("errno states");
exit(EXIT_FAILURE);
}
perror("errno states");
exit(EXIT_FAILURE);
}