summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.syscall/futimes.c
diff options
context:
space:
mode:
authorhunt <hunt>2007-07-11 00:52:49 +0000
committerhunt <hunt>2007-07-11 00:52:49 +0000
commit369733fdaf31d3a3f52d9d5b1f847d0a9f24b7b6 (patch)
treebce32432e2de3bfa82e198ca441f16e500b4d59f /testsuite/systemtap.syscall/futimes.c
parent1830d00ebc02d0cf8123a39708380b01fdfda30f (diff)
downloadsystemtap-steved-369733fdaf31d3a3f52d9d5b1f847d0a9f24b7b6.tar.gz
systemtap-steved-369733fdaf31d3a3f52d9d5b1f847d0a9f24b7b6.tar.xz
systemtap-steved-369733fdaf31d3a3f52d9d5b1f847d0a9f24b7b6.zip
2007-07-10 Martin Hunt <hunt@redhat.com>
* futimes.c (main): Ifdef out futimesat tests if not defined.
Diffstat (limited to 'testsuite/systemtap.syscall/futimes.c')
-rw-r--r--testsuite/systemtap.syscall/futimes.c4
1 files changed, 2 insertions, 2 deletions
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;
}