aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2022-11-18 05:03:01 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2022-11-18 05:06:16 +0000
commitc2a74ca2c3d9ad3465f7cb88ea60907a097fbdbc (patch)
treec0d1b8fd9aabaa878dbbf7ccc6360c61a3f1567e
parent724842d6aacdfe5cd5f88923a485b773249c218b (diff)
downloadsrc-c2a74ca2c3d9ad3465f7cb88ea60907a097fbdbc.tar.gz
src-c2a74ca2c3d9ad3465f7cb88ea60907a097fbdbc.zip
Fix to b999366aab4e for compilation on i386.
Reported by: jenkins, Philip Paeps
-rw-r--r--sys/ufs/ffs/ffs_subr.c4
1 files 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) { \