Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/mtree make us compatible with FreeBSD (for -n) (Bro...



details:   https://anonhg.NetBSD.org/src/rev/1e98af0b5a8c
branches:  trunk
changeset: 783328:1e98af0b5a8c
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Dec 15 01:24:40 2012 +0000

description:
make us compatible with FreeBSD (for -n) (Brooks Davies)

diffstat:

 usr.sbin/mtree/create.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 92a6f106a251 -r 1e98af0b5a8c usr.sbin/mtree/create.c
--- a/usr.sbin/mtree/create.c   Sat Dec 15 01:19:32 2012 +0000
+++ b/usr.sbin/mtree/create.c   Sat Dec 15 01:24:40 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: create.c,v 1.66 2012/12/12 15:50:35 christos Exp $     */
+/*     $NetBSD: create.c,v 1.67 2012/12/15 01:24:40 christos Exp $     */
 
 /*-
  * Copyright (c) 1989, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)create.c   8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: create.c,v 1.66 2012/12/12 15:50:35 christos Exp $");
+__RCSID("$NetBSD: create.c,v 1.67 2012/12/15 01:24:40 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -136,8 +136,9 @@
                }
                switch(p->fts_info) {
                case FTS_D:
+                       printf("\n");
                        if (!nflag)
-                               printf("\n# %s\n", p->fts_path);
+                               printf("# %s\n", p->fts_path);
                        statd(t, p, &uid, &gid, &mode, &flags);
                        statf(indent, p);
                        break;



Home | Main Index | Thread Index | Old Index