[hackers] [st] Add newline in error messages || "Roberto E. Vargas Caballero"

From: <hg_AT_suckless.org>
Date: Mon, 17 Sep 2012 22:46:40 +0200 (CEST)

changeset: 314:8a10729d93c9
user: "Roberto E. Vargas Caballero" <k0ga_AT_shike2.com>
date: Mon Sep 17 22:11:28 2012 +0200
files: st.c
description:
Add newline in error messages
---
 st.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff -r fe7ba4f517e4 -r 8a10729d93c9 st.c
--- a/st.c	Mon Sep 17 22:11:20 2012 +0200
+++ b/st.c	Mon Sep 17 22:11:28 2012 +0200
_AT_@ -363,14 +363,14 @@
 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;
 }
 
Received on Mon Sep 17 2012 - 22:46:40 CEST

This archive was generated by hypermail 2.3.0 : Mon Sep 17 2012 - 22:48:06 CEST