Put DIOCWLABEL under #ifdef NO_GEOM
This commit is contained in:
parent
8657b576d8
commit
5bdd667ffe
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user