diff options
author | phk <phk@FreeBSD.org> | 2003-01-20 13:04:03 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-01-20 13:04:03 +0000 |
commit | c11946f0bdec1528d06e784ae9f93c60d37266ed (patch) | |
tree | 032091932af840293f3c9f8c32daee7927915507 | |
parent | a6ac700e454130241a164f5c45b382d0f41379b7 (diff) | |
download | FreeBSD-src-c11946f0bdec1528d06e784ae9f93c60d37266ed.zip FreeBSD-src-c11946f0bdec1528d06e784ae9f93c60d37266ed.tar.gz |
Hide the ioctls behind #ifdef _KERNEL to avoid kdump getting upset.
-rw-r--r-- | sys/sys/diskslice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/diskslice.h b/sys/sys/diskslice.h index 4764007..1033c3f7 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 <sys/ioccom.h> #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 |