[LTP] [PATCH] syscalls/clock_adjtime: Fix unsupported WARN

Cyril Hrubis chrubis@suse.cz
Thu Jul 4 11:33:49 CEST 2019


Hi!
Pushed with minor changes, thanks.

>  static long hz;
>  static struct timex saved, ttxc;
> +static int support = 0;

Global variables are initialized to 0, there is no point in adding the
assignment here. I also renamed the support to supported, it's not that
longer and describes the situation better.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list