summaryrefslogtreecommitdiff
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-10-05 16:35:33 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-10-05 16:35:33 +0000
commit3bd65612892bf45be964680c677d5f939b06ca39 (patch)
tree281a4e3831a5ca364a19928efbfe097201919121 /sys/kern/subr_disk.c
parent226b96fb6d8a532282d4e9f557370416c7c34972 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r--sys/kern/subr_disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index d6c66438c6d6..d233f3cd2418 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -20,7 +20,7 @@
#include <sys/disk.h>
#include <sys/diskslice.h>
#include <sys/disklabel.h>
-#ifndef GEOM
+#ifdef NO_GEOM
#include <sys/kernel.h>
#include <sys/sysctl.h>
#include <sys/malloc.h>
@@ -440,7 +440,7 @@ SYSCTL_INT(_debug_sizeof, OID_AUTO, diskslices, CTLFLAG_RD,
SYSCTL_INT(_debug_sizeof, OID_AUTO, disk, CTLFLAG_RD,
0, sizeof(struct disk), "sizeof(struct disk)");
-#endif
+#endif /* NO_GEOM */
/*-
* Disk error is the preface to plaintive error messages