From 369733fdaf31d3a3f52d9d5b1f847d0a9f24b7b6 Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 11 Jul 2007 00:52:49 +0000 Subject: 2007-07-10 Martin Hunt * futimes.c (main): Ifdef out futimesat tests if not defined. --- testsuite/systemtap.syscall/futimes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/systemtap.syscall/futimes.c') diff --git a/testsuite/systemtap.syscall/futimes.c b/testsuite/systemtap.syscall/futimes.c index 5b5ebac5..7a4f4065 100644 --- a/testsuite/systemtap.syscall/futimes.c +++ b/testsuite/systemtap.syscall/futimes.c @@ -19,7 +19,7 @@ int main() utimes("foobar", tv); // utimes ("foobar", \[1000000000.001234\]\[2000000000.005678\]) - +#ifdef SYS_futimesat futimes(fd, tv); // futimesat (-100, "foobar", \[1000000000.001234\]\[2000000000.005678\]) @@ -28,6 +28,6 @@ int main() futimesat(AT_FDCWD, "foobar", tv); // futimesat (-100, "foobar", \[1000000000.001234\]\[2000000000.005678\]) - +#endif /* SYS_futimesat */ return 0; } -- cgit