diff options
| author | Guido van Rooij <guido@FreeBSD.org> | 1997-03-10 19:39:43 +0000 |
|---|---|---|
| committer | Guido van Rooij <guido@FreeBSD.org> | 1997-03-10 19:39:43 +0000 |
| commit | 9408216e1778e36a1dc12a80600c7b01d0995bbe (patch) | |
| tree | bca04e3e2a33af913012d5d5201fc42fde31aa57 /bin | |
| parent | d5867457a25a222493cf8ac70be29a4e80658537 (diff) | |
Notes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/df/df.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/df/df.c b/bin/df/df.c index e4328c3515f56..103a19bb295b6 100644 --- a/bin/df/df.c +++ b/bin/df/df.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: df.c,v 1.13 1997/02/22 14:02:57 peter Exp $ */ #ifndef lint @@ -200,7 +200,7 @@ main(argc, argv) ufs_df(*argv, maxwidth); (void)rmdir(mntpt); continue; - } else if (statfs(mntpt, &statfsbuf)) { + } else if (statfs(mntpt, &statfsbuf) == 0) { statfsbuf.f_mntonname[0] = '\0'; prtstat(&statfsbuf, maxwidth); } else |
