From: Michel Normand Date: Thu, 14 May 2009 14:27:28 +0000 (+0200) Subject: SYSERROR not to add end of line character X-Git-Tag: lxc_0_6_3~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69c3910d1565bf8686ad9d693e8fbf5f823728b5;p=thirdparty%2Flxc.git 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 --- 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,