From 4541e881568708cc9462f67abecf01ee55e6e611 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 19 Nov 2006 20:35:05 -0500 Subject: Fix thinko (inverted test). --- toys/df.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys') diff --git a/toys/df.c b/toys/df.c index d4528f96..375aa0ab 100644 --- a/toys/df.c +++ b/toys/df.c @@ -77,7 +77,7 @@ int df_main(void) 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; -- cgit v1.2.3