Message ID | 878s4uk1xz.fsf@oldenburg.str.redhat.com |
---|---|
State | Committed |
Commit | 2c71177309cc59788c2288c6033c9dbbd23f02c3 |
Headers | |
Series | [COMMITTED] posix: Fix Hurd build failure in tst-execveat | |
Commit Message
diff --git a/posix/tst-execveat.c b/posix/tst-execveat.c index 53178c10d5..bc4d1aedc9 100644 --- a/posix/tst-execveat.c +++ b/posix/tst-execveat.c @@ -78,9 +78,12 @@ static int do_test (void) { DIR *dirp; - int fd, fd_out; + int fd; +#ifdef O_PATH + int fd_out; char *tmp_dir, *symlink_name, *tmp_sh; struct stat64 st; +#endif dirp = opendir ("/bin"); if (dirp == NULL)