[PATCH v3 1/4] printrusage: Fix kernel_old_timeval typo
Alistair Francis
alistair.francis at wdc.com
Sat Mar 7 02:22:20 UTC 2020
The timeval struct should contain a tv_sec and tv_usec type, fix the
typo to indicate that it's usec and not nsec.
This member is never directly accessed here so there are no other
changes required.
Signed-off-by: Alistair Francis <alistair.francis at wdc.com>
---
printrusage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/printrusage.c b/printrusage.c
index ba7f0d9f..7cfeb7a0 100644
--- a/printrusage.c
+++ b/printrusage.c
@@ -18,7 +18,7 @@
struct kernel_old_timeval {
kernel_long_t tv_sec;
- long tv_nsec;
+ long tv_usec;
};
typedef struct {
--
2.25.1
More information about the Strace-devel
mailing list