From 5bdd667ffea4900435a679df9db1d26630f23d3b Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 26 Jan 2003 19:43:18 +0000 Subject: [PATCH] Put DIOCWLABEL under #ifdef NO_GEOM --- sys/sys/disklabel.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index b430c04d472c..c59f117041a2 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -298,8 +298,10 @@ static const char *fstypenames[] = { #define DIOCGDINFO _IOR('d', 101, struct disklabel)/* get */ #define DIOCSDINFO _IOW('d', 102, struct disklabel)/* set */ #define DIOCWDINFO _IOW('d', 103, struct disklabel)/* set, update disk */ +#ifdef NO_GEOM #define DIOCWLABEL _IOW('d', 109, int) /* write en/disable label */ +#endif #ifdef _KERNEL