sg_lib.c | 77 static int scnpr(char * cp, int cp_max_len, const char * fmt, ...) 80 static int scnpr(char * cp, int cp_max_len, const char * fmt, ...); 91 scnpr(char * cp, int cp_max_len, const char * fmt, ...) function 198 scnpr(buff, buff_len, "Unknown status [0x%x]", scsi_status); 200 scnpr(buff, buff_len, "%s", ccp); 241 scnpr(buff, buff_len, "%s", sg_lib_sense_key_desc[sense_key]); 243 scnpr(buff, buff_len, "invalid value: 0x%x", sense_key); 266 num = scnpr(buff, buff_len, "Additional sense: "); 268 scnpr(buff + num, ((rlen > 0) ? rlen : 0), ei2p->text, ascq); 279 scnpr(buff, buff_len, "Additional sense: %s", eip->text) [all...] |