[libglnx] tests: Fix compilation of fdio test
- From: Colin Walters <walters src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [libglnx] tests: Fix compilation of fdio test
 
- Date: Wed, 28 Jun 2017 15:24:42 +0000 (UTC)
 
commit 01e934c18efdbac071ebc19a8a95916d324970c9
Author: Colin Walters <walters verbum org>
Date:   Tue Jun 27 21:17:58 2017 -0400
    tests: Fix compilation of fdio test
    
    Not sure how I missed this before.
 tests/test-libglnx-fdio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-libglnx-fdio.c b/tests/test-libglnx-fdio.c
index bc2d7ac..311e7f0 100644
--- a/tests/test-libglnx-fdio.c
+++ b/tests/test-libglnx-fdio.c
@@ -80,7 +80,7 @@ test_renameat2_noreplace (void)
       glnx_set_error_from_errno (error);
       goto out;
     }
-  if (!glnx_fstatat (destfd, "bar", &stbuf, AT_SYMLINK_NOFOLLOW))
+  if (!glnx_fstatat (destfd, "bar", &stbuf, AT_SYMLINK_NOFOLLOW, error))
     goto out;
 
   if (fstatat (srcfd, "foo", &stbuf, AT_SYMLINK_NOFOLLOW) == 0)
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]