diff options
author | Colin Walters <walters@verbum.org> | 2017-05-17 16:57:54 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2017-05-17 16:57:54 -0400 |
commit | 4fbd48fb88906b3eaa9de31c6c798c4f15ee05a4 (patch) | |
tree | e11aac12b2330edd93ce48e724f8e4ddb3ba9e1d | |
parent | 9929adcd99d15dc4f5a925f9b7ec2318f646f1bf (diff) | |
download | libglnx-4fbd48fb88906b3eaa9de31c6c798c4f15ee05a4.tar.gz |
fdio: Add missing return in tmpfile error case
Just noticed this while reading the code.
-rw-r--r-- | glnx-fdio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glnx-fdio.c b/glnx-fdio.c index b8ed0a5..ac62a5e 100644 --- a/glnx-fdio.c +++ b/glnx-fdio.c @@ -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) { |