Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2012 22:12:51 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r240765 - projects/mtree/contrib/mtree
Message-ID:  <201209202212.q8KMCpeb003199@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209202212.q8KMCpeb003199>