fdio: Add missing mode argument

Spotted by fortify-source.
This commit is contained in:
Colin Walters committed 2015-03-09 21:22:38 -04:00
1 parent 175502e5be
commit c92adab47a
1 file changed
+1 -1
+1 -1
View File
@@ -509,7 +509,7 @@ glnx_file_copy_at (int src_dfd,
else
dest_open_flags |= O_TRUNC;
dest_fd = TEMP_FAILURE_RETRY (openat (dest_dfd, dest_subpath, dest_open_flags));
dest_fd = TEMP_FAILURE_RETRY (openat (dest_dfd, dest_subpath, dest_open_flags, src_stbuf->st_mode));
if (dest_fd == -1)
{
glnx_set_error_from_errno (error);