aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ktrdump
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2005-12-09 14:27:03 +0000
committerNate Lawson <njl@FreeBSD.org>2005-12-09 14:27:03 +0000
commitee574da534cdcd978d3c6ecde46a544ea209f5ed (patch)
tree2fed9cbdd8cb4e79f686d89cc3c5453b43a3a98b /usr.bin/ktrdump
parentfb504bef5cdc96b3a248a6d91473ef5d4f3cb76d (diff)
Notes
Diffstat (limited to 'usr.bin/ktrdump')
-rw-r--r--usr.bin/ktrdump/ktrdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ktrdump/ktrdump.c b/usr.bin/ktrdump/ktrdump.c
index 083370cd3fbe..ef21c564ab2c 100644
--- a/usr.bin/ktrdump/ktrdump.c
+++ b/usr.bin/ktrdump/ktrdump.c
@@ -253,7 +253,8 @@ main(int ac, char **av)
if (rflag) {
if (tlast == -1)
tlast = tnow;
- fprintf(out, "%16ju ", tnow - tlast);
+ fprintf(out, "%16ju ", !iflag ? tlast - tnow :
+ tnow - tlast);
tlast = tnow;
} else
fprintf(out, "%16ju ", tnow);