Commit 71ab61ce authored by Federico Vaga's avatar Federico Vaga

Merge branch 'release/v3.0.6' into master

parents f7b71bd6 22a2adda
...@@ -6,6 +6,12 @@ ...@@ -6,6 +6,12 @@
Changelog Changelog
========= =========
3.0.6 - 2021-01-20
==================
Fixed
-----
- sw: open_by_lun() conversion from LUN to ID
3.0.5 - 2020-12-14 3.0.5 - 2020-12-14
================== ==================
Fixed Fixed
......
...@@ -148,7 +148,7 @@ struct fdelay_board *fdelay_open_by_lun(int lun) ...@@ -148,7 +148,7 @@ struct fdelay_board *fdelay_open_by_lun(int lun)
errno = ENODEV; errno = ENODEV;
return NULL; return NULL;
} }
if (sscanf(dev_id_str, "%4"SCNu32, &dev_id) != 1) { if (sscanf(dev_id_str, "%4"SCNx32, &dev_id) != 1) {
errno = ENODEV; errno = ENODEV;
return NULL; return NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment