diff options
Diffstat (limited to 'usr/version.h')
-rw-r--r-- | usr/version.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/version.h b/usr/version.h index 4b74514..f8be671 100644 --- a/usr/version.h +++ b/usr/version.h @@ -5,8 +5,12 @@ * iSCSI tools version. * This may not be the same value as the kernel versions because * some other maintainer could merge a patch without going through us + * + * Version string should be set by the build system, else we have problems */ -#define ISCSI_VERSION_STR "2.1.7" +#ifndef ISCSI_VERSION_STR +#error Must set ISCSI_VERSION_STR +#endif #define ISCSI_VERSION_FILE "/sys/module/scsi_transport_iscsi/version" #endif |