Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37806817
en ru br
Репозитории ALT
S:24.2-alt3
5.1: 22.7.3-alt6.M51.1
4.1: 22.7.3-alt5
4.0: 22.7.3-alt5
3.0: 22.4.1-alt9
www.altlinux.org/Changes

Группа :: Система/Ядро и оборудование
Пакет: lilo

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: lilo-24.0-alt-format.patch
Скачать


diff -ur lilo-24.0/src/geometry.c lilo-24.0-alt-format/src/geometry.c
--- lilo-24.0/src/geometry.c	2014-03-03 22:50:36.000000000 +0200
+++ lilo-24.0-alt-format/src/geometry.c	2014-03-03 22:57:41.000000000 +0200
@@ -400,7 +400,7 @@
           if (i!=7 && i!=15 && i!=31 && i!=63 && i!=128) die("disk=%s:  illegal value for max-partitions(%d)", disk, i);
       }
       else {
-        die("Implementation restriction: max-partitions on major device > %d", (int)nelem(max_partno)-1);
+        die("Implementation restriction: max-partitions on major device > %zu", nelem(max_partno)-1);
       }
     }
     entry->bios = bios ? to_number(bios) : -1;
@@ -543,7 +543,7 @@
 
 	lvmfd = dev_open(&dev, lbm->lv_dev, O_RDONLY);
 	if (lvmfd < 0)
-	    die("can't open LVM block device %#x\n", (int)lbm->lv_dev);
+	    die("can't open LVM block device %#x\n", (unsigned int)lbm->lv_dev);
 	last_dev = lbm->lv_dev;
     }
     if (ioctl(lvmfd, LV_BMAP, lbm) < 0) {
@@ -1479,7 +1479,7 @@
 		if (dm_target->start <= sector && sector < (dm_target->start+dm_target->length))
 		    break;
 	    if (!dm_target)
-		die("device-mapper: Sector outside mapped device? (%d: %u/%"PRIu64")",
+		die("device-mapper: Sector outside mapped device? (%"PRIu64": %u/%"PRIu64")",
 		    (int) geo->base_dev, sector, (uint64_t)(dm_table->target ?
 		      (dm_table->target->start+dm_table->target->length) : 0));
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin