who: Gettextize two forgotten strings
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 4 Aug 2008 20:11:47 +0000 (22:11 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 11 Aug 2008 07:47:00 +0000 (09:47 +0200)
src/who.c

index 0bba912..94af8bf 100644 (file)
--- a/src/who.c
+++ b/src/who.c
@@ -427,7 +427,7 @@ print_user (const STRUCT_UTMP *utmp_ent, time_t boottime)
 static void
 print_boottime (const STRUCT_UTMP *utmp_ent)
 {
-  print_line (-1, "", ' ', -1, "system boot",
+  print_line (-1, "", ' ', -1, _("system boot"),
              time_string (utmp_ent), "", "", "", "");
 }
 
@@ -472,7 +472,7 @@ print_login (const STRUCT_UTMP *utmp_ent)
 
   /* FIXME: add idle time? */
 
-  print_line (-1, "LOGIN", ' ', sizeof utmp_ent->ut_line, utmp_ent->ut_line,
+  print_line (-1, _("LOGIN"), ' ', sizeof utmp_ent->ut_line, utmp_ent->ut_line,
              time_string (utmp_ent), "", pidstr, comment, "");
   free (comment);
 }