pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e367100
)
Add newline in error messages
author
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Mon, 17 Sep 2012 20:11:28 +0000
(22:11 +0200)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Mon, 17 Sep 2012 20:11:28 +0000
(22:11 +0200)
---
st.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
df7f8d8
..
c408ca9
100644
(file)
--- 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;
}