changeset 27:c471910a14e4

Fix thinko (inverted test).
author Rob Landley <rob@landley.net>
date Sun, 19 Nov 2006 20:35:05 -0500
parents 75b80e55bcfc
children be59ed005902
files toys/df.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/toys/df.c	Sun Nov 19 17:29:35 2006 -0500
+++ b/toys/df.c	Sun Nov 19 20:35:05 2006 -0500
@@ -77,7 +77,7 @@
 			struct stat st;
 
 			// Stat it (complain if we can't).
-			if(!stat(*next, &st)) {
+			if(stat(*next, &st)) {
 				perror_msg("`%s'", next);
 				toys.exitval = 1;
 				continue;