Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2022 05:06:50 GMT
From:      Kirk McKusick <mckusick@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: c2a74ca2c3d9 - stable/13 - Fix to b999366aab4e for compilation on i386.
Message-ID:  <202211180506.2AI56ooZ092790@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mckusick:

URL: https://cgit.FreeBSD.org/src/commit/?id=c2a74ca2c3d9ad3465f7cb88ea60907a097fbdbc

commit c2a74ca2c3d9ad3465f7cb88ea60907a097fbdbc
Author:     Kirk McKusick <mckusick@FreeBSD.org>
AuthorDate: 2022-11-18 05:03:01 +0000
Commit:     Kirk McKusick <mckusick@FreeBSD.org>
CommitDate: 2022-11-18 05:06:16 +0000

    Fix to b999366aab4e for compilation on i386.
    
    Reported by: jenkins, Philip Paeps
---
 sys/ufs/ffs/ffs_subr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/ufs/ffs/ffs_subr.c b/sys/ufs/ffs/ffs_subr.c
index 01981c782499..42f1e1a1cad3 100644
--- a/sys/ufs/ffs/ffs_subr.c
+++ b/sys/ufs/ffs/ffs_subr.c
@@ -327,7 +327,6 @@ readsuper(void *devfd, struct fs **fsp, off_t sblockloc, int isaltsblk,
 #define MPRINT(...)	do { } while (0)
 #else
 #define MPRINT(...)	if (prtmsg) printf(__VA_ARGS__)
-#endif
 /*
  * Print error messages when bad superblock values are found.
  */
@@ -336,7 +335,8 @@ static int prtmsg = 1;
 SYSCTL_DECL(_vfs_ffs);
 SYSCTL_INT(_vfs_ffs, OID_AUTO, prtsberrmsg, CTLFLAG_RWTUN, &prtmsg, 0,
     "Print error messages when bad superblock values are found");
-#endif
+#endif /* _KERNEL */
+#endif /* STANDALONE_SMALL */
 #undef CHK
 #define CHK(lhs, op, rhs, fmt)						\
 	if (lhs op rhs) {						\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211180506.2AI56ooZ092790>