From 9e4e7b0dadfe6ff9c680d1ceb989fcd4365c1f66 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Sun, 13 Nov 2016 17:10:41 +0100 Subject: [PATCH] conf: do not use %m format specifier This is a GNU extension and some libcs might be missing it. Signed-off-by: Christian Brauner --- src/lxc/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.2