# HG changeset patch # User Paul Eggert # Date 1092264450 0 # Node ID 83074d3a5d316373d00399f7fc944161e82667db # Parent ffc7a08ca08b42d49ddd5954913e7ade676f27f1 (settime): Recode to avoid warning with Sun Forte C 6U2. diff --git a/lib/settime.c b/lib/settime.c --- a/lib/settime.c +++ b/lib/settime.c @@ -67,8 +67,8 @@ #if HAVE_STIME return stime (&ts->tv_sec); -#endif - +#else errno = ENOSYS; return -1; +#endif }