Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/fsck_ffs Make the "non-zero exattr fields" message show...



details:   https://anonhg.NetBSD.org/src/rev/bb6678e0aaf9
branches:  trunk
changeset: 372359:bb6678e0aaf9
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Nov 17 18:57:16 2022 +0000

description:
Make the "non-zero exattr fields" message show the inode number.

diffstat:

 sbin/fsck_ffs/pass1.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r f9031f43f8f2 -r bb6678e0aaf9 sbin/fsck_ffs/pass1.c
--- a/sbin/fsck_ffs/pass1.c     Thu Nov 17 17:35:25 2022 +0000
+++ b/sbin/fsck_ffs/pass1.c     Thu Nov 17 18:57:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pass1.c,v 1.60 2022/11/17 06:40:38 chs Exp $   */
+/*     $NetBSD: pass1.c,v 1.61 2022/11/17 18:57:16 martin Exp $        */
 
 /*
  * Copyright (c) 1980, 1986, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)pass1.c    8.6 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: pass1.c,v 1.60 2022/11/17 06:40:38 chs Exp $");
+__RCSID("$NetBSD: pass1.c,v 1.61 2022/11/17 18:57:16 martin Exp $");
 #endif
 #endif /* not lint */
 
@@ -427,7 +427,8 @@
            (iswap32(dp->dp2.di_extsize) != 0 ||
             iswap64(dp->dp2.di_extb[0]) != 0 ||
             iswap64(dp->dp2.di_extb[1]) != 0)) {
-               pfatal("NON-ZERO EXTATTR FIELDS");
+               pfatal("NON-ZERO EXTATTR FIELDS I=%llu",
+                   (unsigned long long)inumber);
                if (!reply("CLEAR EXTATTR FIELDS AND SET PERMS TO 0")) {
                        markclean = 0;
                        return;



Home | Main Index | Thread Index | Old Index