Module Name:    src
Committed By:   mlelstv
Date:           Sat Feb 22 13:11:42 UTC 2014

Modified Files:
        src/bin/ls: print.c

Log Message:
fix -w output


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/bin/ls/print.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/ls/print.c
diff -u src/bin/ls/print.c:1.53 src/bin/ls/print.c:1.54
--- src/bin/ls/print.c:1.53	Thu Feb 20 18:56:36 2014
+++ src/bin/ls/print.c	Sat Feb 22 13:11:42 2014
@@ -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 @@ printpath(const FTSENT *p) {
 	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

Reply via email to