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);