Wolfgang Mauerer wrote:
>  int __wrap_clock_gettime(clockid_t clock_id, struct timespec *tp)
>  {
>       int err;
> @@ -68,7 +128,11 @@ int __wrap_clock_gettime(clockid_t clock_id, struct 
> timespec *tp)
>               tp->tv_sec = xnarch_divrem_billion(ns, &rem);
>               tp->tv_nsec = rem;
>               return 0;
> +     } else if (clock_id == CLOCK_HOST_REALTIME) {
> +             err = __do_clock_host_realtime(tp, NULL);
> +             goto out;

        swich case here

-- 
                                            Gilles.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to