Mercurial > hg > toybox
comparison toys/df.c @ 164:c79290b54bd3
Fix error message
author | Charlie Shepherd <masterdriverz@gentoo.org> |
---|---|
date | Sat, 10 Nov 2007 10:25:23 +0000 |
parents | 1e8f4b05cb65 |
children | 25447caf1b4b |
comparison
equal
deleted
inserted
replaced
163:a913f894b7d8 | 164:c79290b54bd3 |
---|---|
77 for(next = toys.optargs; *next; next++) { | 77 for(next = toys.optargs; *next; next++) { |
78 struct stat st; | 78 struct stat st; |
79 | 79 |
80 // Stat it (complain if we can't). | 80 // Stat it (complain if we can't). |
81 if(stat(*next, &st)) { | 81 if(stat(*next, &st)) { |
82 perror_msg("`%s'", next); | 82 perror_msg("`%s'", *next); |
83 toys.exitval = 1; | 83 toys.exitval = 1; |
84 continue; | 84 continue; |
85 } | 85 } |
86 | 86 |
87 // Find and display this filesystem. Use _last_ hit in case of | 87 // Find and display this filesystem. Use _last_ hit in case of |