diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-17 22:11:28 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-17 22:11:28 +0200 |
commit | 63cab32d0584af4755914c7ccf2c0ea667e82ba0 (patch) | |
tree | 04672cd433e687cbd22381016710592bafe5660e | |
parent | cf7edb2641fb7e5637acf9378aa5dcc750a4a468 (diff) | |
download | st-63cab32d0584af4755914c7ccf2c0ea667e82ba0.tar.gz st-63cab32d0584af4755914c7ccf2c0ea667e82ba0.tar.bz2 |
Add newline in error messages
---
st.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-rw-r--r-- | st.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |