From: Christian Brauner Date: Sun, 13 Nov 2016 16:10:41 +0000 (+0100) Subject: conf: do not use %m format specifier X-Git-Tag: lxc-2.1.0~267^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1297%2Fhead;p=thirdparty%2Flxc.git conf: do not use %m format specifier This is a GNU extension and some libcs might be missing it. Signed-off-by: Christian Brauner --- diff --git a/src/lxc/conf.c b/src/lxc/conf.c index b2e0fd90c..ed23034a0 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -1958,7 +1958,7 @@ FILE *write_mount_file(struct lxc_list *mount) file = tmpfile(); if (!file) { - ERROR("tmpfile error: %m"); + ERROR("Could not create temporary file: %s.", strerror(errno)); return NULL; }