aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xf86drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xf86drm.c b/xf86drm.c
index 2a74c807..4791a053 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -1946,7 +1946,7 @@ int drmWaitVBlank(int fd, drmVBlankPtr vbl)
1946 1946
1947 ret = clock_gettime(CLOCK_MONOTONIC, &timeout); 1947 ret = clock_gettime(CLOCK_MONOTONIC, &timeout);
1948 if (ret < 0) { 1948 if (ret < 0) {
1949 fprintf(stderr, "clock_gettime failed: %s\n", strerror(ret)); 1949 fprintf(stderr, "clock_gettime failed: %s\n", strerror(errno));
1950 goto out; 1950 goto out;
1951 } 1951 }
1952 timeout.tv_sec++; 1952 timeout.tv_sec++;