X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.c;h=c408ca95af00ea71e2e2cad2ccabb6f977716c34;hb=111199cf226b33f12e6ee3e66e50fbe5c3566e33;hp=df7f8d8675864d375e122663138fd760c4d5e7f1;hpb=e3671006dba1c21316c570e11d6688f5513fb44e;p=st.git 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; }