wok-current diff syslinux/stuff/extra/ifmem.c @ rev 11772

syslinux/ifmem.c: add 1M to round boundaries
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 23 16:08:26 2012 +0100 (2012-02-23)
parents 48283b8cd35d
children 9bf2fe503ae4
line diff
     1.1 --- a/syslinux/stuff/extra/ifmem.c	Tue Jun 21 00:45:23 2011 +0200
     1.2 +++ b/syslinux/stuff/extra/ifmem.c	Thu Feb 23 16:08:26 2012 +0100
     1.3 @@ -106,6 +106,7 @@
     1.4    // find target according to ram size
     1.5    ram_size = memory_size();
     1.6    printf("Total memory found %luK.\n",ram_size);
     1.7 +  ram_size += 1 <<= 10; // add 1M to round boundaries...
     1.8    
     1.9    i = 1;
    1.10    s = argv[1];