From ddaf675fc827f6f8701adb96e70c591feddc5471 Mon Sep 17 00:00:00 2001 From: Allan Jude Date: Wed, 22 Jul 2015 19:58:21 +0000 Subject: [PATCH] Remove an excess space accidently introduced in the output in ls(1) by r285734 Spotted by: dim Approved by: eadler (mentor) Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3152 --- bin/ls/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ls/print.c b/bin/ls/print.c index 08701c05134f..2fbaea5305c9 100644 --- a/bin/ls/print.c +++ b/bin/ls/print.c @@ -456,7 +456,7 @@ printtime(const char *field, time_t ftime) snprintf(fmt, sizeof(fmt), "{d:%s/%%hs} ", field); xo_attr("value", "%ld", (long) ftime); xo_emit(fmt, longstring); - snprintf(fmt, sizeof(fmt), "{en:%s/%%ld} ", field); + snprintf(fmt, sizeof(fmt), "{en:%s/%%ld}", field); xo_emit(fmt, (long) ftime); }