Репозитории ALT
S: | 21.23-alt1.2 |
D: | 14.19-alt1 |
5.1: | 15.26-alt1 |
4.1: | 13.57-alt1 |
Группа :: Система/Ядро и оборудование
Пакет: hwinfo
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: hwinfo-14.19-alt.patch
Скачать
Скачать
diff -urN hwinfo-14.19.orig/src/hd/input.c hwinfo-14.19/src/hd/input.c
--- hwinfo-14.19.orig/src/hd/input.c 2008-05-30 18:03:13 +0300
+++ hwinfo-14.19/src/hd/input.c 2008-09-25 19:39:45 +0300
@@ -313,7 +313,7 @@
sl = sl0 = hd_split(' ', str);
for(; sl; sl = sl->next) {
u = strtoul(sl->str, NULL, 16);
- str_printf(&s, -1, "%0*lx", (int) sizeof (unsigned long) * 2, u);
+ str_printf(&s, -1, "%0*lx", (int) sizeof(unsigned long) << 1, u);
}
free_str_list(sl0);
free_mem(str);