File gkrellm-2.3.5-fix-sdX-sort-order.patch of Package gkrellm
diff --git a/src/sysdeps/linux.c b/src/sysdeps/linux.c index 427fe6e..a81305a 100644 --- a/src/sysdeps/linux.c +++ b/src/sysdeps/linux.c @@ -484,6 +484,8 @@ gkrellm_sys_disk_order_from_name(const gchar *name) } if (i >= table_size) i = -1; + if (i > 9) /* > hda */ + i += (i - 10) * 16 + suffix - dm->suffix_base; return i; }