aboutsummaryrefslogtreecommitdiff
path: root/login/programs/utmpdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'login/programs/utmpdump.c')
-rw-r--r--login/programs/utmpdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login/programs/utmpdump.c b/login/programs/utmpdump.c
index 950e927..f85654b 100644
--- a/login/programs/utmpdump.c
+++ b/login/programs/utmpdump.c
@@ -28,7 +28,7 @@ print_entry (struct utmp *up)
/* Mixed 32-/64-bit systems may have timeval structs of different sixe
but need struct utmp to be the same size. So in 64-bit up->ut_tv may
not be a timeval but a struct of __int32_t's. This would cause a compile
- time warning and a formating error when 32-bit int is passed where
+ time warning and a formatting error when 32-bit int is passed where
a 64-bit long is expected. So copy up->up_tv to a temporary timeval.
This is 32-/64-bit agnostic and expands the timeval fields to the
expected size as needed. */