Skip to content
Snippets Groups Projects
Commit 4fbd48fb authored by Colin Walters's avatar Colin Walters
Browse files

fdio: Add missing return in tmpfile error case

Just noticed this while reading the code.
parent 9929adcd
No related branches found
No related tags found
No related merge requests found
......@@ -314,6 +314,7 @@ glnx_link_tmpfile_at (GLnxTmpfile *tmpf,
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_EXISTS,
"Exhausted %u attempts to create temporary file", count);
return FALSE;
}
if (renameat (target_dfd, tmpname_buf, target_dfd, target) < 0)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment