From 952435f0799e440165f97108531c4fb5741fa583 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Mon, 20 Jul 2026 19:45:14 +0100 Subject: [PATCH] uptime: remove extraneous space This make output more consistent with procps. * src/uptime.c (main): Remove extra space after "up" when uptime is less than a day. Fixes https://github.com/coreutils/coreutils/issues/321 --- src/uptime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uptime.c b/src/uptime.c index 4de00a8cb8..150528fdc9 100644 --- a/src/uptime.c +++ b/src/uptime.c @@ -91,7 +91,7 @@ print_uptime (idx_t n, STRUCT_UTMP const *utmp_buf) select_plural (updays)), updays, uphours, upmins); else - printf (_("up %2d:%02d, "), uphours, upmins); + printf (_("up %2d:%02d, "), uphours, upmins); } printf (ngettext ("%td user", "%td users", select_plural (entries)), -- 2.47.3