aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-04 02:57:33 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-04 02:57:33 -0400
commitf616220ff28829089db09ecd55458b0147a0020b (patch)
tree15d69dbe8889a21af55a99ac065b231f6f616931 /tests/fchownat-0.c
parentlibsandbox: handle utimensat with NULL paths (diff)
downloadsandbox-f616220ff28829089db09ecd55458b0147a0020b.tar.gz
sandbox-f616220ff28829089db09ecd55458b0147a0020b.tar.bz2
sandbox-f616220ff28829089db09ecd55458b0147a0020b.zip
tests: extend file/dirfd parsing
Add support for file keywords (like "NULL") and for opening paths for dirfd arguments. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests/fchownat-0.c')
-rw-r--r--tests/fchownat-0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fchownat-0.c b/tests/fchownat-0.c
index 9243b20..a168e75 100644
--- a/tests/fchownat-0.c
+++ b/tests/fchownat-0.c
@@ -11,7 +11,7 @@
int dirfd = at_get_fd(s); \
\
s = argv[i++]; \
- char *file = s; \
+ const char *file = f_get_file(s); \
\
s = argv[i++]; \
uid_t uid = atoi(s); \