Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37838055
en ru br
ALT Linux repositórios
S:24.2-alt3
5.0: 22.7.3-alt5
4.1: 22.7.3-alt5
4.0: 22.7.3-alt5
3.0: 22.4.1-alt9

Group :: Sistema/Kernel e hardware
RPM: lilo

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: lilo-24.0-alt-format.patch
Download


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));
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009