aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/driver_SUITE_data/smaller_major_vsn_drv.c
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2014-03-21 15:22:21 +0100
committerIngela Anderton Andin <[email protected]>2014-03-21 15:22:21 +0100
commit425a75a11ea58125b67ad56f4ed3ca65370a3e72 (patch)
tree80fa08785954c031c985557e9179a62c10de8a5d /erts/emulator/test/driver_SUITE_data/smaller_major_vsn_drv.c
parent3c06b5b3cdde72453d97910889e38e91c1dd4870 (diff)
parent78ad5368f520c5fa6400d4f16909b23fe5225255 (diff)
downloadotp-425a75a11ea58125b67ad56f4ed3ca65370a3e72.tar.gz
otp-425a75a11ea58125b67ad56f4ed3ca65370a3e72.tar.bz2
otp-425a75a11ea58125b67ad56f4ed3ca65370a3e72.zip
Merge branch 'master' of git-server:otp
Diffstat (limited to 'erts/emulator/test/driver_SUITE_data/smaller_major_vsn_drv.c')
-rw-r--r--erts/emulator/test/driver_SUITE_data/smaller_major_vsn_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/driver_SUITE_data/smaller_major_vsn_drv.c b/erts/emulator/test/driver_SUITE_data/smaller_major_vsn_drv.c
index a1299fe807..6b9d4745ba 100644
--- a/erts/emulator/test/driver_SUITE_data/smaller_major_vsn_drv.c
+++ b/erts/emulator/test/driver_SUITE_data/smaller_major_vsn_drv.c
@@ -20,12 +20,12 @@
* Author: Rickard Green
*
* Description: Implementation of a driver with a smaller major
- * driver version than the current system.
+ * driver version than allowed on load.
*/
#define VSN_MISMATCH_DRV_NAME_STR "smaller_major_vsn_drv"
#define VSN_MISMATCH_DRV_NAME smaller_major_vsn_drv
-#define VSN_MISMATCH_DRV_MAJOR_VSN_DIFF (-1)
+#define VSN_MISMATCH_DRV_MAJOR_VSN_DIFF (ERL_DRV_MIN_REQUIRED_MAJOR_VERSION_ON_LOAD - ERL_DRV_EXTENDED_MAJOR_VERSION - 1)
#define VSN_MISMATCH_DRV_MINOR_VSN_DIFF 0
#include "vsn_mismatch_drv_impl.c"