diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-11 22:24:04 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-11 22:24:04 +0000 |
commit | 254e577b8655cae3dbdf928a58d862b9f3dc73c7 (patch) | |
tree | 196f4d0400739ac7e5cfdf6c6e4d30ae4bd7d947 | |
parent | c1dac962ebf8e9eb14dd25495d4bf7958979c776 (diff) | |
download | coreutils-254e577b8655cae3dbdf928a58d862b9f3dc73c7.tar.xz |
(settime): Recode to avoid warning with Sun Forte C 6U2.
-rw-r--r-- | lib/settime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/settime.c b/lib/settime.c index e989a6db6..4b9111a20 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 } |