Searched refs:need_p (Results 1 – 1 of 1) sorted by relevance
206 bool need_p; in make_partition_devname() local219 need_p = strchr(DIGITS, whole_devname[strlen(whole_devname)-1]); /* Last char a digit? */ in make_partition_devname()221 return asprintf(ret, "%s%s%i", whole_devname, need_p ? "p" : "", nr); in make_partition_devname()