mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-23 12:44:12 +00:00
Pizzini long mod
SCCS-file: date.c SCCS-SID: 7.44
This commit is contained in:
committed by
Paul Eggert
parent
bafe80dccf
commit
5bc67b96f1
2
date.c
2
date.c
@ -254,7 +254,7 @@ _("date: error: multiple values in command line\n"));
|
|||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
|
||||||
tv.tv_sec = (int) adjust;
|
tv.tv_sec = (int) adjust;
|
||||||
tv.tv_usec = (int) ((adjust - tv.tv_sec) * 1000000);
|
tv.tv_usec = (int) ((adjust - tv.tv_sec) * 1000000L);
|
||||||
if (adjtime(&tv, (struct timeval *) NULL) != 0)
|
if (adjtime(&tv, (struct timeval *) NULL) != 0)
|
||||||
oops("adjtime");
|
oops("adjtime");
|
||||||
#endif /* HAVE_ADJTIME */
|
#endif /* HAVE_ADJTIME */
|
||||||
|
|||||||
Reference in New Issue
Block a user