Searched refs:lsh_errmsg (Results 1 – 2 of 2) sorted by relevance
70 hp->lsh_errmsg[0] = '\0'; in libscsi_set_errno()98 errmsg = alloca(sizeof (hp->lsh_errmsg)); in libscsi_verror()99 (void) vsnprintf(errmsg, sizeof (hp->lsh_errmsg), fmt, ap); in libscsi_verror()107 bcopy(errmsg, hp->lsh_errmsg, n + 1); in libscsi_verror()137 if (hp->lsh_errmsg[0] == '\0') in libscsi_errmsg()138 (void) strlcpy(hp->lsh_errmsg, libscsi_strerror(hp->lsh_errno), in libscsi_errmsg()139 sizeof (hp->lsh_errmsg)); in libscsi_errmsg()141 return (hp->lsh_errmsg); in libscsi_errmsg()
64 char lsh_errmsg[LIBSCSI_ERRMSGLEN]; member