diff options
-rw-r--r-- | plugins/check_ide_smart.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c index cfc7908..381dbd8 100644 --- a/plugins/check_ide_smart.c +++ b/plugins/check_ide_smart.c | |||
@@ -118,15 +118,16 @@ struct { | |||
118 | char *text; | 118 | char *text; |
119 | } | 119 | } |
120 | 120 | ||
121 | static offline_status_text[] = {{0x00, "NeverStarted"}, {0x02, "Completed"}, {0x04, "Suspended"}, {0x05, "Aborted"}, {0x06, "Failed"}, {0, 0}}; | 121 | static offline_status_text[] = {{0x00, "NeverStarted"}, {0x02, "Completed"}, {0x04, "Suspended"}, |
122 | {0x05, "Aborted"}, {0x06, "Failed"}, {0, 0}}; | ||
122 | 123 | ||
123 | static struct { | 124 | static struct { |
124 | __u8 value; | 125 | __u8 value; |
125 | char *text; | 126 | char *text; |
126 | } smart_command[] = {{SMART_ENABLE, "SMART_ENABLE"}, | 127 | } smart_command[] = {{SMART_ENABLE, "SMART_ENABLE"}, |
127 | {SMART_DISABLE, "SMART_DISABLE"}, | 128 | {SMART_DISABLE, "SMART_DISABLE"}, |
128 | {SMART_IMMEDIATE_OFFLINE, "SMART_IMMEDIATE_OFFLINE"}, | 129 | {SMART_IMMEDIATE_OFFLINE, "SMART_IMMEDIATE_OFFLINE"}, |
129 | {SMART_AUTO_OFFLINE, "SMART_AUTO_OFFLINE"}}; | 130 | {SMART_AUTO_OFFLINE, "SMART_AUTO_OFFLINE"}}; |
130 | 131 | ||
131 | /* Index to smart_command table, keep in order */ | 132 | /* Index to smart_command table, keep in order */ |
132 | enum SmartCommand { | 133 | enum SmartCommand { |