aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2010-05-20 23:50:37 +0200
committerAndi Kleen <ak@linux.intel.com>2010-05-20 23:50:37 +0200
commit3c6118fc45992dc33e8f46a181918aa53eb3a1e3 (patch)
treec6733fe51d08366e7b337cab83013bc526e64917
parent577b9d0f230ce483d263ed9d6eaff5c2b65b52d9 (diff)
downloadmce-test-3c6118fc45992dc33e8f46a181918aa53eb3a1e3.tar.gz
thugetlb.c: avoid extra newline in errors
Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r--tsrc/thugetlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tsrc/thugetlb.c b/tsrc/thugetlb.c
index f1f835a..b941e7e 100644
--- a/tsrc/thugetlb.c
+++ b/tsrc/thugetlb.c
@@ -46,7 +46,7 @@ char filepath[BUF_SIZE];
#define DEB printf("DEBUG [%d:%s:%d]\n", getpid(), __FILE__, __LINE__);
#define err(x) perror(x), exit(1)
-#define errmsg(x) fprintf(stderr, x "\n"), exit(1)
+#define errmsg(x) fprintf(stderr, x), exit(1)
static void usage(void)
{