diff options
author | phk <phk@FreeBSD.org> | 2003-01-26 19:43:18 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-01-26 19:43:18 +0000 |
commit | 19a663e554a3754424e305a92065ce8f0e96cfcf (patch) | |
tree | 3d87a0610a03c57cd70a2b190866e2be4af5dddc | |
parent | 411365f15d431cee967e5d16b04ee1687c259a3c (diff) | |
download | FreeBSD-src-19a663e554a3754424e305a92065ce8f0e96cfcf.zip FreeBSD-src-19a663e554a3754424e305a92065ce8f0e96cfcf.tar.gz |
Put DIOCWLABEL under #ifdef NO_GEOM
-rw-r--r-- | sys/sys/disklabel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index b430c04..c59f117 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 |