Source-Changes-HG archive

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

[src/trunk]: src/bin/ls fix -w output



details:   https://anonhg.NetBSD.org/src/rev/7f92f508314d
branches:  trunk
changeset: 793661:7f92f508314d
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sat Feb 22 13:11:42 2014 +0000

description:
fix -w output

diffstat:

 bin/ls/print.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b5c80da865bd -r 7f92f508314d bin/ls/print.c
--- a/bin/ls/print.c    Sat Feb 22 13:08:13 2014 +0000
+++ b/bin/ls/print.c    Sat Feb 22 13:11:42 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print.c,v 1.53 2014/02/20 18:56:36 christos Exp $      */
+/*     $NetBSD: print.c,v 1.54 2014/02/22 13:11:42 mlelstv Exp $       */
 
 /*
  * Copyright (c) 1989, 1993, 1994
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)print.c    8.5 (Berkeley) 7/28/94";
 #else
-__RCSID("$NetBSD: print.c,v 1.53 2014/02/20 18:56:36 christos Exp $");
+__RCSID("$NetBSD: print.c,v 1.54 2014/02/22 13:11:42 mlelstv Exp $");
 #endif
 #endif /* not lint */
 
@@ -102,7 +102,7 @@
        if (f_fullpath)
                return printf("%s/%s", p->fts_path, p->fts_name);
        else
-               return printf("%s", p->fts_path);
+               return printf("%s", p->fts_name);
 }
 
 void



Home | Main Index | Thread Index | Old Index