Searched refs:sername (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | syncstat.c | 51 static char sername[DLPI_LINKNAME_MAX]; variable 103 if (snprintf(sername, sizeof (sername), "%s", in main() 104 *argv) >= sizeof (sername)) { in main() 114 for (cp = sername; (*cp) && (!isdigit(*cp)); cp++) {} in main() 117 "syncstat: %s missing minor device number\n", sername); in main() 121 if ((retval = dlpi_open(sername, &dh, DLPI_SERIAL)) != DLPI_SUCCESS) { in main() 122 (void) fprintf(stderr, "syncstat: dlpi_open %s: %s\n", sername, in main() 127 (void) dlpi_parselink(sername, serdevice, &ppa); in main() 138 "syncstat: can't get sync mode info for %s\n", sername); in main() 149 "syncstat: can't clear stats for %s\n", sername); in main() [all …]
|