diff options
author | Sami Kerola | 2014-12-31 00:03:32 +0100 |
---|---|---|
committer | Sami Kerola | 2015-06-08 22:53:36 +0200 |
commit | 04639805e12e343c007746e23cb42c1fa7efbb2a (patch) | |
tree | 6cf4723a2f12c01dd44a96e3ae179dd6d57766d5 /term-utils/Makemodule.am | |
parent | script: use correct input type, move comment, and so on (diff) | |
download | kernel-qcow2-util-linux-04639805e12e343c007746e23cb42c1fa7efbb2a.tar.gz kernel-qcow2-util-linux-04639805e12e343c007746e23cb42c1fa7efbb2a.tar.xz kernel-qcow2-util-linux-04639805e12e343c007746e23cb42c1fa7efbb2a.zip |
script: use gettime_monotonic() to get timing file timestamps
This moves the previous time to script control structure, and does
timeval calculation with timersub() that is more appropriate than
making a timeval to a double.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'term-utils/Makemodule.am')
-rw-r--r-- | term-utils/Makemodule.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/term-utils/Makemodule.am b/term-utils/Makemodule.am index 1b735b9bc..75cc9223c 100644 --- a/term-utils/Makemodule.am +++ b/term-utils/Makemodule.am @@ -1,9 +1,9 @@ if BUILD_SCRIPT usrbin_exec_PROGRAMS += script dist_man_MANS += term-utils/script.1 -script_SOURCES = term-utils/script.c +script_SOURCES = term-utils/script.c lib/monotonic.c script_CFLAGS = $(AM_CFLAGS) -Wno-format-y2k -script_LDADD = $(LDADD) +script_LDADD = $(LDADD) libcommon.la $(CLOCKGETTIME_LIBS) if HAVE_UTIL script_LDADD += -lutil endif |