summaryrefslogtreecommitdiffstats
path: root/plugins/check_ide_smart.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ide_smart.c')
-rw-r--r--plugins/check_ide_smart.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c
index 381dbd8..9640ef7 100644
--- a/plugins/check_ide_smart.c
+++ b/plugins/check_ide_smart.c
@@ -113,12 +113,10 @@ typedef struct values_s {
113 __u8 checksum; 113 __u8 checksum;
114} __attribute__((packed)) values_t; 114} __attribute__((packed)) values_t;
115 115
116struct { 116static struct {
117 __u8 value; 117 __u8 value;
118 char *text; 118 char *text;
119} 119} offline_status_text[] = {{0x00, "NeverStarted"}, {0x02, "Completed"}, {0x04, "Suspended"},
120
121static offline_status_text[] = {{0x00, "NeverStarted"}, {0x02, "Completed"}, {0x04, "Suspended"},
122 {0x05, "Aborted"}, {0x06, "Failed"}, {0, 0}}; 120 {0x05, "Aborted"}, {0x06, "Failed"}, {0, 0}};
123 121
124static struct { 122static struct {