You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
635 B

Index: sg_err.c
--- sg_err.c.orig 2002-01-05 01:52:52.000000000 +0100
+++ sg_err.c 2006-01-08 16:28:52.000000000 +0100
@@ -21,10 +21,10 @@
#define OUTP stderr
-static const unsigned char scsi_command_size[8] = { 6, 10, 10, 12,
- 12, 12, 10, 10 };
+static const unsigned char my_scsi_command_size[8] = { 6, 10, 10, 12,
+ 12, 12, 10, 10 };
-#define COMMAND_SIZE(opcode) scsi_command_size[((opcode) >> 5) & 7]
+#define COMMAND_SIZE(opcode) my_scsi_command_size[((opcode) >> 5) & 7]
static const char unknown[] = "UNKNOWN";