Module: xenomai-3
Branch: next
Commit: 9b37ac319452793fa2362cb5c731845b98d0a170
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9b37ac319452793fa2362cb5c731845b98d0a170

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Feb 20 10:06:07 2015 +0100

smokey/sigdebug: account for uclibc lacking clock_nanosleep()

---

 testsuite/smokey/sigdebug/sigdebug.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/smokey/sigdebug/sigdebug.c 
b/testsuite/smokey/sigdebug/sigdebug.c
index 03f3d33..27c3263 100644
--- a/testsuite/smokey/sigdebug/sigdebug.c
+++ b/testsuite/smokey/sigdebug/sigdebug.c
@@ -280,7 +280,7 @@ static int run_sigdebug(struct smokey_test *t, int argc, 
char *const argv[])
        err = __real_pthread_kill(rt_thread, SIGUSR1);
        check_no_error("pthread_kill", err);
 
-       __real_clock_nanosleep(CLOCK_MONOTONIC, 0, &delay, NULL);
+       __STD(nanosleep(&delay, NULL));
 
        err = pthread_mutex_unlock(&prio_invert);
        check_no_error("pthread_mutex_unlock", err);


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to