diff --git a/tests/test-libglnx-fdio.c b/tests/test-libglnx-fdio.c index bc2d7ac1649fa48b02f88ddebdf603c83c8a293d..311e7f0fd13ce019fd01589d8cb98f36737badbd 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)