about summary refs log tree commit diff
path: root/login
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-20 13:37:47 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-06-02 01:39:48 +0000
commit7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 (patch)
treee02ce0ba813f2cb4f20643988ec030292784cab6 /login
parent5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff)
downloadglibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.xz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'login')
-rw-r--r--login/programs/utmpdump.c2
-rw-r--r--login/utmp_file.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/login/programs/utmpdump.c b/login/programs/utmpdump.c
index 950e927200..f85654b9d1 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. */
diff --git a/login/utmp_file.c b/login/utmp_file.c
index 1ef0782139..7055041d5f 100644
--- a/login/utmp_file.c
+++ b/login/utmp_file.c
@@ -153,7 +153,7 @@ __libc_setutent (void)
   return 1;
 }
 
-/* Preform initialization if necessary.  */
+/* Perform initialization if necessary.  */
 static bool
 maybe_setutent (void)
 {