mirror of
git://github.com/lxc/lxc
synced 2025-09-02 14:39:34 +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();
|
file = tmpfile();
|
||||||
if (!file) {
|
if (!file) {
|
||||||
ERROR("tmpfile error: %m");
|
ERROR("Could not create temporary file: %s.", strerror(errno));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user