aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--uioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uioctl.c b/uioctl.c
index 11bd993..f9be716 100644
--- a/uioctl.c
+++ b/uioctl.c
@@ -97,7 +97,7 @@ static void monitor(char *fpath, int forever) {
fprintf(stderr, "Problem reading from device file\n");
exit(EXIT_FAILURE);
}
- printf("[%ld.%03d] interrupt: %d\n", tp.time, tp.millitm,
+ printf("[%ld.%04d] interrupt: %d\n", tp.time, tp.millitm,
(buf[3] * 16777216 + buf[2] * 65536 + buf[1] * 256 + buf[0]));
} while (forever);
close(fd);