diff --git a/module/zfs/zfs_ioctl.c b/module/zfs/zfs_ioctl.c index 98a9c85416..d92180c703 100644 --- a/module/zfs/zfs_ioctl.c +++ b/module/zfs/zfs_ioctl.c @@ -67,6 +67,7 @@ #include "zfs_namecheck.h" #include "zfs_prop.h" #include "zfs_deleg.h" +#include "zfs_config.h" extern struct modlfs zfs_modlfs; @@ -3299,7 +3300,8 @@ init(void) rc = _init(); if (!rc) - printk(KERN_INFO "ZFS: Loaded ZFS Filesystem v%s\n", VERSION); + printk(KERN_INFO "ZFS: Loaded ZFS Filesystem v%s\n", + ZFS_META_VERSION); return rc; } @@ -3308,7 +3310,8 @@ void fini(void) { (void)_fini(); - printk(KERN_INFO "ZFS: Unloaded ZFS Filesystem v%s\n", VERSION); + printk(KERN_INFO "ZFS: Unloaded ZFS Filesystem v%s\n", + ZFS_META_VERSION); } module_init(init);