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 | 111199cf226b33f12e6ee3e66e50fbe5c3566e33 (patch) | |
| tree | 04672cd433e687cbd22381016710592bafe5660e | |
| parent | e3671006dba1c21316c570e11d6688f5513fb44e (diff) | |
| download | st-111199cf226b33f12e6ee3e66e50fbe5c3566e33.tar.gz st-111199cf226b33f12e6ee3e66e50fbe5c3566e33.zip | |
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 * | |||
| 363 | xmalloc(size_t len) { | 363 | xmalloc(size_t len) { |
| 364 | void *p = malloc(len); | 364 | void *p = malloc(len); |
| 365 | if(!p) | 365 | if(!p) |
| 366 | die("Out of memory"); | 366 | die("Out of memory\n"); |
| 367 | return p; | 367 | return p; |
| 368 | } | 368 | } |
| 369 | 369 | ||
| 370 | void * | 370 | void * |
| 371 | xrealloc(void *p, size_t len) { | 371 | xrealloc(void *p, size_t len) { |
| 372 | if((p = realloc(p, len)) == NULL) | 372 | if((p = realloc(p, len)) == NULL) |
| 373 | die("Out of memory"); | 373 | die("Out of memory\n"); |
| 374 | return p; | 374 | return p; |
| 375 | } | 375 | } |
| 376 | 376 | ||
