From 355f192528a0edb84092ae50a133e160a72da77f Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 20 Jan 2003 13:04:03 +0000 Subject: Hide the ioctls behind #ifdef _KERNEL to avoid kdump getting upset. --- sys/sys/diskslice.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/diskslice.h b/sys/sys/diskslice.h index 476400722fad..1033c3f75bc1 100644 --- a/sys/sys/diskslice.h +++ b/sys/sys/diskslice.h @@ -30,10 +30,12 @@ #define _SYS_DISKSLICE_H_ #ifndef raidframe_has_been_fixed +#ifdef _KERNEL #include #define DIOCGSLICEINFO _IOR('d', 111, struct diskslices) #define DIOCSYNCSLICEINFO _IOW('d', 112, int) #endif +#endif #ifndef sys_boot_code_has_been_fixed #define BASE_SLICE 2 -- cgit v1.2.3