diff options
author | Karel Zak <kzak@redhat.com> | 2008-08-12 13:58:51 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2008-08-13 11:43:59 +0200 |
commit | 982a4a5d98c7034004ec04bff7faea6e1dfcf131 (patch) | |
tree | 2325a4dffb5518397868159468bbdd32cfcefbdc /hwclock/hwclock.c | |
parent | 3b96a7acbc8e3805c6af6c3e185f007b1d68118d (diff) | |
download | util-linux-old-982a4a5d98c7034004ec04bff7faea6e1dfcf131.tar.gz |
hwclock: use time limit for synchronization busy wait
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'hwclock/hwclock.c')
-rw-r--r-- | hwclock/hwclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwclock/hwclock.c b/hwclock/hwclock.c index 82da273d..c08ae3f5 100644 --- a/hwclock/hwclock.c +++ b/hwclock/hwclock.c @@ -182,7 +182,7 @@ read_date_from_file (struct tm *tm) { write_date_to_file (tm); } -static double +double time_diff(struct timeval subtrahend, struct timeval subtractor) { /*--------------------------------------------------------------------------- The difference in seconds between two times in "timeval" format. |