# | Line 148 | Line 148 | const char *sg_str_error(sg_error code) { | |
---|---|---|
148 | return "disk function failed"; | |
149 | case SG_ERROR_MEMSTATUS: | |
150 | return "memory status failed"; | |
151 | + | case SG_ERROR_GETMSG: |
152 | + | return "getmsg failed"; |
153 | + | case SG_ERROR_PUTMSG: |
154 | + | return "putmsg failed"; |
155 | } | |
156 | return "unknown error"; | |
157 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |