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

/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c1068 char *mn1, *mn2; local
1078 if ((mn2 = GET_DYN(l_dev2)) != NULL) {
1079 *mn2 = '\0';
1087 if ((mn2 = strrchr(l_dev2, ':')) != NULL) {
1088 *mn2++ = '\0';
1098 if (mn1 == NULL && mn2 == NULL) {
1102 } else if (mn2 == NULL) {
1105 return (strcmp(mn1, mn2));
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_utils.c1209 char *mn1, *mn2; local
1219 if ((mn2 = GET_DYN(l_dev2)) != NULL) {
1220 *mn2 = '\0';
1228 if ((mn2 = strrchr(l_dev2, ':')) != NULL) {
1229 *mn2++ = '\0';
1239 if (mn1 == NULL && mn2 == NULL) {
1243 } else if (mn2 == NULL) {
1246 return (strcmp(mn1, mn2));

Completed in 26 milliseconds