svn commit: r285803 - head/bin/ls

Allan Jude allanjude at FreeBSD.org
Wed Jul 22 19:58:22 UTC 2015


Author: allanjude (doc committer)
Date: Wed Jul 22 19:58:21 2015
New Revision: 285803
URL: https://svnweb.freebsd.org/changeset/base/285803

Log:
  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

Modified:
  head/bin/ls/print.c

Modified: head/bin/ls/print.c
==============================================================================
--- head/bin/ls/print.c	Wed Jul 22 19:55:32 2015	(r285802)
+++ head/bin/ls/print.c	Wed Jul 22 19:58:21 2015	(r285803)
@@ -456,7 +456,7 @@ printtime(const char *field, time_t ftim
 	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);
 }
 


More information about the svn-src-all mailing list