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

/osnet-11/usr/src/lib/scsi/libscsi/common/
H A Dscsi_subr.c71 hp->lsh_errmsg[0] = '\0';
92 * and then copy it into lsh_errmsg. We also need to set the errno,
94 * lsh_errmsg, we do this after we print into our temporary buffer
99 errmsg = alloca(sizeof (hp->lsh_errmsg));
100 (void) vsnprintf(errmsg, sizeof (hp->lsh_errmsg), fmt, ap);
108 bcopy(errmsg, hp->lsh_errmsg, n + 1);
138 if (hp->lsh_errmsg[0] == '\0')
139 (void) strlcpy(hp->lsh_errmsg, libscsi_strerror(hp->lsh_errno),
140 sizeof (hp->lsh_errmsg));
142 return (hp->lsh_errmsg);
[all...]
H A Dlibscsi_impl.h63 char lsh_errmsg[LIBSCSI_ERRMSGLEN]; member in struct:libscsi_hdl

Completed in 15 milliseconds