> *subarrayp = subarray; > strcpy(st->container_devnm, container); > - strcpy(st->devnm, fd2devnm(fd)); > + strncpy(st->devnm, devnm, MD_NAME_MAX); Sorry for bothering you again but there is one nit. Strncpy implementation doesn't guarantee '\0' ended string- static code analysis may warn. In this case you can use: strncpy(st->devnm, devnm, MD_NAME_MAX - 1); or snprintf(st->devnm, MD_NAME_MAX, "%s", devnm); Thanks, Mariusz