Commit db780149 authored by Federico Vaga's avatar Federico Vaga

sw:lib: fix ID conversion

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 04114321
......@@ -148,7 +148,7 @@ struct fdelay_board *fdelay_open_by_lun(int lun)
errno = ENODEV;
return NULL;
}
if (sscanf(dev_id_str, "%4"SCNu32, &dev_id) != 1) {
if (sscanf(dev_id_str, "%4"SCNx32, &dev_id) != 1) {
errno = ENODEV;
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