From: Paul Eggert Date: Wed, 11 Aug 2004 22:24:04 +0000 (+0000) Subject: (settime): Recode to avoid warning with Sun Forte C 6U2. X-Git-Tag: v5.3.0~791 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=254e577b8655cae3dbdf928a58d862b9f3dc73c7;p=thirdparty%2Fcoreutils.git (settime): Recode to avoid warning with Sun Forte C 6U2. --- diff --git a/lib/settime.c b/lib/settime.c index e989a6db60..4b9111a208 100644 --- a/lib/settime.c +++ b/lib/settime.c @@ -67,8 +67,8 @@ settime (struct timespec const *ts) #if HAVE_STIME return stime (&ts->tv_sec); -#endif - +#else errno = ENOSYS; return -1; +#endif }