summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/xtouch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/xtouch.c b/tests/xtouch.c
index 427e3e0..8660ea5 100644
--- a/tests/xtouch.c
+++ b/tests/xtouch.c
@@ -247,8 +247,8 @@ int main(int argc, char *argv[]) {
times[1] = times[0];
} else {
// Don't use UTIME_NOW, so that multiple paths all get the same timestamp
- if (xgettime(&times[0]) != 0) {
- perror("xgettime()");
+ if (clock_gettime(CLOCK_REALTIME, &times[0]) != 0) {
+ perror("clock_gettime()");
return EXIT_FAILURE;
}
times[1] = times[0];