From 69c3910d1565bf8686ad9d693e8fbf5f823728b5 Mon Sep 17 00:00:00 2001 From: Michel Normand Date: Thu, 14 May 2009 16:27:28 +0200 Subject: [PATCH] SYSERROR not to add end of line character I assume this is a typo error. Signed-off-by: Daniel Lezcano Signed-off-by: Michel Normand --- src/lxc/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/log.h b/src/lxc/log.h index d36bcece2..a8a82b8ed 100644 --- a/src/lxc/log.h +++ b/src/lxc/log.h @@ -275,7 +275,7 @@ extern struct lxc_log_category lxc_log_category_lxc; #define SYSERROR(format, ...) do { \ - ERROR("%s - " format "\n", strerror(errno), ##__VA_ARGS__); \ + ERROR("%s - " format, strerror(errno), ##__VA_ARGS__); \ } while (0) extern int lxc_log_init(const char *file, const char *priority,