From: Pádraig Brady
Date: Mon, 20 Jul 2026 18:45:14 +0000 (+0100) Subject: uptime: remove extraneous space X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=HEAD;p=thirdparty%2Fcoreutils.git 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 --- 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)),