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,