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

This commit is contained in:
martin 2022-11-17 18:57:16 +00:00
parent cd0fbe0b1b
commit 2627930cb6
1 changed files with 4 additions and 3 deletions

View File

@ -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 *idesc)
(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;