"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/sg_logs.c" between
sg3_utils-1.47r908.tgz and sg3_utils-1.47r915.tar.xz

About: sg3_utils contains utilities that send SCSI commands to devices. Beta version.

sg_logs.c  (sg3_utils-1.47r908.tgz):sg_logs.c  (sg3_utils-1.47r915.tar.xz)
skipping to change at line 39 skipping to change at line 39
#include "config.h" #include "config.h"
#endif #endif
#include "sg_lib.h" #include "sg_lib.h"
#include "sg_cmds_basic.h" #include "sg_cmds_basic.h"
#ifdef SG_LIB_WIN32 #ifdef SG_LIB_WIN32
#include "sg_pt.h" /* needed for scsi_pt_win32_direct() */ #include "sg_pt.h" /* needed for scsi_pt_win32_direct() */
#endif #endif
#include "sg_unaligned.h" #include "sg_unaligned.h"
#include "sg_pr2serr.h" #include "sg_pr2serr.h"
static const char * version_str = "1.85 20210802"; /* spc6r05 + sbc5r01 */ static const char * version_str = "1.86 20210924"; /* spc6r05 + sbc5r01 */
#define MX_ALLOC_LEN (0xfffc) #define MX_ALLOC_LEN (0xfffc)
#define SHORT_RESP_LEN 128 #define SHORT_RESP_LEN 128
#define SUPP_PAGES_LPAGE 0x0 #define SUPP_PAGES_LPAGE 0x0
#define BUFF_OVER_UNDER_LPAGE 0x1 #define BUFF_OVER_UNDER_LPAGE 0x1
#define WRITE_ERR_LPAGE 0x2 #define WRITE_ERR_LPAGE 0x2
#define READ_ERR_LPAGE 0x3 #define READ_ERR_LPAGE 0x3
#define READ_REV_ERR_LPAGE 0x4 #define READ_REV_ERR_LPAGE 0x4
#define VERIFY_ERR_LPAGE 0x5 #define VERIFY_ERR_LPAGE 0x5
skipping to change at line 4861 skipping to change at line 4861
static const char * bms_status[] = { static const char * bms_status[] = {
"no background scans active", "no background scans active",
"background medium scan is active", "background medium scan is active",
"background pre-scan is active", "background pre-scan is active",
"background scan halted due to fatal error", "background scan halted due to fatal error",
"background scan halted due to a vendor specific pattern of error", "background scan halted due to a vendor specific pattern of error",
"background scan halted due to medium formatted without P-List", "background scan halted due to medium formatted without P-List",
"background scan halted - vendor specific cause", "background scan halted - vendor specific cause",
"background scan halted due to temperature out of range", "background scan halted due to temperature out of range",
"background scan enabled, none active (waiting for BMS interval timer " ("background scan enabled, none active (waiting for BMS interval timer "
"to expire)", /* 8 */ "to expire)"), /* clang warns about this, add parens to quieten */
"background scan halted - scan results list full", "background scan halted - scan results list full",
"background scan halted - pre-scan time limit timer expired" /* 10 */, "background scan halted - pre-scan time limit timer expired" /* 10 */,
}; };
static const char * reassign_status[] = { static const char * reassign_status[] = {
"Reassign status: Reserved [0x0]", "Reassign status: Reserved [0x0]",
"Reassignment pending receipt of Reassign or Write command", "Reassignment pending receipt of Reassign or Write command",
"Logical block successfully reassigned by device server", "Logical block successfully reassigned by device server",
"Reassign status: Reserved [0x3]", "Reassign status: Reserved [0x3]",
"Reassignment by device server failed", "Reassignment by device server failed",
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)