diff options
author | David Phillips <david@sighup.nz> | 2017-11-23 23:14:36 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-11-23 23:14:36 +1300 |
commit | e01ec4355d93eadda671859c33a7c0af2f6ec1ce (patch) | |
tree | 7375a55f07732d3706cf6dd1c5c520681f758324 /sand-leek.c | |
parent | def92e2b1435a35a11e1fd9c21189a9f4fe2c5d9 (diff) | |
download | sand-leek-e01ec4355d93eadda671859c33a7c0af2f6ec1ce.tar.xz |
Correct abs to labs
Diffstat (limited to 'sand-leek.c')
-rw-r--r-- | sand-leek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sand-leek.c b/sand-leek.c index 031a0bf..92ddfac 100644 --- a/sand-leek.c +++ b/sand-leek.c @@ -310,7 +310,7 @@ monitor_progress(unsigned long volatile *khashes, int thread_count) { } /* FIXME factor out */ - remaining_abs = abs(remaining); + remaining_abs = labs(remaining); if (remaining_abs < 60) { remaining_unit = "second"; } else if (remaining_abs < 60*60) { |