Lines Matching defs:cnambuf
104 char cnambuf[DLPI_LINKNAME_MAX], device[DLPI_LINKNAME_MAX];
123 if (strlcpy(cnambuf, argv[0], sizeof (cnambuf)) >=
124 sizeof (cnambuf)) {
130 cp = cnambuf;
136 "syncinit: %s missing minor device number\n", cnambuf);
140 retval = dlpi_open(cnambuf, &dh, DLPI_EXCL|DLPI_SERIAL);
142 (void) fprintf(stderr, "syncinit: dlpi_open %s: %s\n", cnambuf,
147 (void) dlpi_parselink(cnambuf, device, &ppa);
164 cnambuf);
258 cnambuf);
275 (void) fprintf(stderr, "Usage: syncinit cnambuf \\\n");