diff options
Diffstat (limited to 'config/kernel-misc-minor.m4')
-rw-r--r-- | config/kernel-misc-minor.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/kernel-misc-minor.m4 b/config/kernel-misc-minor.m4 index 3917e28ff..a020d2ebc 100644 --- a/config/kernel-misc-minor.m4 +++ b/config/kernel-misc-minor.m4 @@ -11,15 +11,15 @@ AC_DEFUN([ZFS_AC_KERNEL_MISC_MINOR], [ for i in $(seq 249 -1 200); do if ! grep -q "^#define\s\+.*_MINOR\s\+.*$i" \ ${LINUX}/include/linux/miscdevice.h; then - ZFS_MINOR="$i" - AC_MSG_RESULT($ZFS_MINOR) - AC_DEFINE_UNQUOTED([ZFS_MINOR], [$ZFS_MINOR], - [/dev/zfs minor]) + ZFS_DEVICE_MINOR="$i" + AC_MSG_RESULT($ZFS_DEVICE_MINOR) + AC_DEFINE_UNQUOTED([ZFS_DEVICE_MINOR], + [$ZFS_DEVICE_MINOR], [/dev/zfs minor]) break fi done - AS_IF([ test -z "$ZFS_MINOR"], [ + AS_IF([ test -z "$ZFS_DEVICE_MINOR"], [ AC_MSG_ERROR([ *** No available misc minor numbers available for use.]) ]) |