svn commit: r240765 - projects/mtree/contrib/mtree

Brooks Davis brooks at FreeBSD.org
Thu Sep 20 22:12:51 UTC 2012


Author: brooks
Date: Thu Sep 20 22:12:50 2012
New Revision: 240765
URL: http://svn.freebsd.org/changeset/base/240765

Log:
  Indent the bare ".." in indent mode.

Modified:
  projects/mtree/contrib/mtree/create.c

Modified: projects/mtree/contrib/mtree/create.c
==============================================================================
--- projects/mtree/contrib/mtree/create.c	Thu Sep 20 19:05:24 2012	(r240764)
+++ projects/mtree/contrib/mtree/create.c	Thu Sep 20 22:12:50 2012	(r240765)
@@ -137,8 +137,8 @@ cwalk(void)
 			break;
 		case FTS_DP:
 			if (!nflag && p->fts_level > 0)
-				printf("%*s# %s\n..\n\n", indent, "",
-				    p->fts_path);
+				printf("%*s# %s\n%*s..\n\n", indent, "",
+				    p->fts_path, indent, "");
 			break;
 		case FTS_DNR:
 		case FTS_ERR:


More information about the svn-src-projects mailing list