aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/linux/common/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/arch/linux/common/storage.h')
-rw-r--r--hardinfo2/arch/linux/common/storage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/arch/linux/common/storage.h b/hardinfo2/arch/linux/common/storage.h
index 7321f70e..3f65b04e 100644
--- a/hardinfo2/arch/linux/common/storage.h
+++ b/hardinfo2/arch/linux/common/storage.h
@@ -107,7 +107,7 @@ scan_scsi(void)
int i;
for (i = 0; type2icon[i].type != NULL; i++)
- if (!strcmp(buf + 8, type2icon[i].type))
+ if (g_str_equal(buf + 8, type2icon[i].type))
break;
type = type2icon[i].label;