wok-current 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 a6bab8cd726e
children b0e8dc7dec71
files syslinux/stuff/extra/ifmem.c
line diff
     1.1 --- a/syslinux/stuff/extra/ifmem.c	Thu Feb 23 14:41:48 2012 +0100
     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];