]> git.proxmox.com Git - mirror_lxc.git/commitdiff
SYSERROR not to add end of line character
authorMichel Normand <normand@fr.ibm.com>
Thu, 14 May 2009 14:27:28 +0000 (16:27 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 14 May 2009 14:27:28 +0000 (16:27 +0200)
I assume this is a typo error.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Michel Normand <normand@fr.ibm.com>
src/lxc/log.h

index d36bcece25a46e1f24f68f0edec46b2da6ccb79c..a8a82b8ed66ec5cef2a3ecd59a8b84f2f75b283c 100644 (file)
@@ -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,