Module Name: src
Committed By: christos
Date: Sun Oct 6 17:03:28 UTC 2024
Modified Files:
src/bin/df: df.c
Log Message:
PR/58718: Christof Meerwald: "total files" and "free files" values swapped
in df -G output
To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/bin/df/df.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/df/df.c
diff -u src/bin/df/df.c:1.103 src/bin/df/df.c:1.104
--- src/bin/df/df.c:1.103 Sat Aug 3 01:27:58 2024
+++ src/bin/df/df.c Sun Oct 6 13:03:28 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: df.c,v 1.103 2024/08/03 05:27:58 kre Exp $ */
+/* $NetBSD: df.c,v 1.104 2024/10/06 17:03:28 christos Exp $ */
/*
* Copyright (c) 1980, 1990, 1993, 1994
@@ -45,7 +45,7 @@ __COPYRIGHT(
#if 0
static char sccsid[] = "@(#)df.c 8.7 (Berkeley) 4/2/94";
#else
-__RCSID("$NetBSD: df.c,v 1.103 2024/08/03 05:27:58 kre Exp $");
+__RCSID("$NetBSD: df.c,v 1.104 2024/10/06 17:03:28 christos Exp $");
#endif
#endif /* not lint */
@@ -492,7 +492,7 @@ prtstat(const struct statvfs *sfsp, int
(uint64_t)sfsp->f_bavail);
(void)printf("%10" PRId64 " total files %10" PRId64
" free files %12lx filesys id\n",
- (uint64_t)sfsp->f_ffree, (uint64_t)sfsp->f_files,
+ (uint64_t)sfsp->f_files, (uint64_t)sfsp->f_ffree,
sfsp->f_fsid);
(void)printf("%10s fstype %#15lx flag %17ld filename "
"length\n", sfsp->f_fstypename, sfsp->f_flag,