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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user