summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero2012-09-17 22:11:28 +0200
committerRoberto E. Vargas Caballero2012-09-17 22:11:28 +0200
commit111199cf226b33f12e6ee3e66e50fbe5c3566e33 (patch)
tree04672cd433e687cbd22381016710592bafe5660e
parente3671006dba1c21316c570e11d6688f5513fb44e (diff)
downloadst-111199cf226b33f12e6ee3e66e50fbe5c3566e33.tar.gz
st-111199cf226b33f12e6ee3e66e50fbe5c3566e33.tar.xz
st-111199cf226b33f12e6ee3e66e50fbe5c3566e33.zip
Add newline in error messages
--- st.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index df7f8d8..c408ca9 100644
--- a/st.c
+++ b/st.c
@@ -363,14 +363,14 @@ void *
xmalloc(size_t len) {
void *p = malloc(len);
if(!p)
- die("Out of memory");
+ die("Out of memory\n");
return p;
}
void *
xrealloc(void *p, size_t len) {
if((p = realloc(p, len)) == NULL)
- die("Out of memory");
+ die("Out of memory\n");
return p;
}