Searched refs:oldsuffix (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/fm/libfmd_zfs/common/
H A Dfmd_zfs.c555 const char *oldsuffix; local
598 if ((oldsuffix = strchr(xpath, ':')) == NULL)
599 oldsuffix = "";
600 if ((physpath = malloc(len + strlen(oldsuffix) + 1)) == NULL)
603 (void) strcpy(physpath + len, oldsuffix);
609 if ((oldsuffix = strchr(&xpath[9], 's')) == NULL &&
610 (oldsuffix = strchr(&xpath[9], 'p')) == NULL)
611 oldsuffix = "";
612 if ((path = malloc(len + strlen(oldsuffix) + 1)) == NULL)
615 (void) strcpy(path + len, oldsuffix);
[all...]

Completed in 30 milliseconds