| nvmectl.c | 229 char *nsloc; local in function:parse_ns_str 236 nsloc = strnstr(ns_str, NVME_NS_PREFIX, 10); 237 if (nsloc != NULL) 238 *nsid = strtol(nsloc + 2, NULL, 10); 239 if (nsloc == NULL || (*nsid == 0 && errno != 0)) 246 snprintf(ctrlr_str, nsloc - ns_str + 1, "%s", ns_str);
|