2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 08:35:44 +00:00

Merge pull request #1297 from brauner/2016-11-13/fix_tmpfile_errno

conf: do not use %m format specifier
This commit is contained in:
Serge Hallyn
2016-11-14 00:33:40 -06:00
committed by GitHub

View File

@@ -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;
}