diff options
-rw-r--r-- | term-utils/agetty.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c index aee853cb7..c79c41665 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -1930,9 +1930,10 @@ static void output_special_char(unsigned char c, struct options *op, if (ut->ut_type == USER_PROCESS) users++; endutent(); - printf ("%d ", users); if (c == 'U') - printf((users == 1) ? _("user") : _("users")); + printf(P_("%d user", "%d users", users), users); + else + printf ("%d ", users); break; } case '4': |