------- Comment From <email address hidden> 2018-10-04 13:56 EDT-------
>156 asprintf(&res, "%.*s%zu", w, dev, partno);
>157 if (access(res, F_OK) == 0){
>158 p = "";
Given the example originally used to open the bug, dev=mpatha, partno=1 and so p is set to "" and that will display "mpatha1". Please correct me if I'm wrong.
------- Comment From <email address hidden> 2018-10-04 13:56 EDT-------
>156 asprintf(&res, "%.*s%zu", w, dev, partno);
>157 if (access(res, F_OK) == 0){
>158 p = "";
Given the example originally used to open the bug, dev=mpatha, partno=1 and so p is set to "" and that will display "mpatha1". Please correct me if I'm wrong.