Module Name: src
Committed By: martin
Date: Thu Nov 17 18:57:16 UTC 2022
Modified Files:
src/sbin/fsck_ffs: pass1.c
Log Message:
Make the "non-zero exattr fields" message show the inode number.
To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sbin/fsck_ffs/pass1.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/fsck_ffs/pass1.c
diff -u src/sbin/fsck_ffs/pass1.c:1.60 src/sbin/fsck_ffs/pass1.c:1.61
--- src/sbin/fsck_ffs/pass1.c:1.60 Thu Nov 17 06:40:38 2022
+++ src/sbin/fsck_ffs/pass1.c Thu Nov 17 18:57:16 2022
@@ -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 @@ checkinode(ino_t inumber, struct inodesc
(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;