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