changeset 164:c79290b54bd3

Fix error message
author Charlie Shepherd <masterdriverz@gentoo.org>
date Sat, 10 Nov 2007 10:25:23 +0000
parents a913f894b7d8
children ad48dca1f4c5
files toys/df.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/toys/df.c	Thu Nov 15 20:43:35 2007 -0600
+++ b/toys/df.c	Sat Nov 10 10:25:23 2007 +0000
@@ -79,7 +79,7 @@
 
 			// Stat it (complain if we can't).
 			if(stat(*next, &st)) {
-				perror_msg("`%s'", next);
+				perror_msg("`%s'", *next);
 				toys.exitval = 1;
 				continue;
 			}