minor fix
authorSzabolcs Nagy <nsz@port70.net>
Wed, 13 Aug 2014 09:25:16 +0000 (11:25 +0200)
committerSzabolcs Nagy <nsz@port70.net>
Wed, 13 Aug 2014 09:25:16 +0000 (11:25 +0200)
src/regression/pthread_cond-smasher.c

index a1ea918..7719ff6 100644 (file)
@@ -73,7 +73,7 @@ static unsigned volatile phase;
 static void settimeout(struct timespec *ts)
 {
   if (clock_gettime(CLOCK_REALTIME, ts))
-    t_error("clock_gettime failed: %s\n", errorstring(errno));
+    t_error("clock_gettime failed: %s\n", strerror(errno));
   ts->tv_nsec += 500*1000*1000;
 }