diff options
Diffstat (limited to 'hardinfo2')
| -rw-r--r-- | hardinfo2/arch/linux/common/storage.h | 3 | ||||
| -rw-r--r-- | hardinfo2/pixmaps/usbfldisk.png | bin | 0 -> 821 bytes | 
2 files changed, 2 insertions, 1 deletions
| diff --git a/hardinfo2/arch/linux/common/storage.h b/hardinfo2/arch/linux/common/storage.h index 067010c7..55987e23 100644 --- a/hardinfo2/arch/linux/common/storage.h +++ b/hardinfo2/arch/linux/common/storage.h @@ -101,12 +101,13 @@ __scan_scsi_devices(void)                      { "WORM", "CD-ROM", "cdrom"},                      { "CD-ROM", "CD-ROM", "cdrom"},                      { "Scanner", "Scanner", "scanner"}, +                    { "Flash Disk", "USB Flash Disk", "usbfldisk" },                      { NULL, "Generic", "scsi"}                   };                  int i;                  for (i = 0; type2icon[i].type != NULL; i++) -                    if (g_str_equal(buf + 8, type2icon[i].type)) +                    if (strstr(buf + 8, type2icon[i].type))                          break;                  type = type2icon[i].label; diff --git a/hardinfo2/pixmaps/usbfldisk.png b/hardinfo2/pixmaps/usbfldisk.pngBinary files differ new file mode 100644 index 00000000..c6a2d0c6 --- /dev/null +++ b/hardinfo2/pixmaps/usbfldisk.png | 
