diff options
author | njl <njl@FreeBSD.org> | 2005-12-06 14:13:39 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2005-12-06 14:13:39 +0000 |
commit | 615d32b5e43b8dbf116e66bb3e9fe471c52ec082 (patch) | |
tree | 080d4058f3790fb59ae185e6ad795ffe4ae77dd8 /usr.bin/ktrdump | |
parent | d1f4a1c280fc8fe13f22ff2ccf53578f98f55c41 (diff) | |
download | FreeBSD-src-615d32b5e43b8dbf116e66bb3e9fe471c52ec082.zip FreeBSD-src-615d32b5e43b8dbf116e66bb3e9fe471c52ec082.tar.gz |
Fix -r flag to actually work. "now" comes after "then", not vice versa.
MFC after: 1 day
Diffstat (limited to 'usr.bin/ktrdump')
-rw-r--r-- | usr.bin/ktrdump/ktrdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ktrdump/ktrdump.c b/usr.bin/ktrdump/ktrdump.c index 33b846e..083370c 100644 --- a/usr.bin/ktrdump/ktrdump.c +++ b/usr.bin/ktrdump/ktrdump.c @@ -253,7 +253,7 @@ main(int ac, char **av) if (rflag) { if (tlast == -1) tlast = tnow; - fprintf(out, "%16ju ", tlast - tnow); + fprintf(out, "%16ju ", tnow - tlast); tlast = tnow; } else fprintf(out, "%16ju ", tnow); |