diff options
-rw-r--r-- | xf86drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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++; |