# HG changeset patch # User Pascal Bellard # Date 1330009706 -3600 # Node ID 9597bd89ad48c65fe156541eff960ffd66969325 # Parent a6bab8cd726e3e80f28be5626867eec83aedca81 syslinux/ifmem.c: add 1M to round boundaries diff -r a6bab8cd726e -r 9597bd89ad48 syslinux/stuff/extra/ifmem.c --- a/syslinux/stuff/extra/ifmem.c Thu Feb 23 14:41:48 2012 +0100 +++ b/syslinux/stuff/extra/ifmem.c Thu Feb 23 16:08:26 2012 +0100 @@ -106,6 +106,7 @@ // find target according to ram size ram_size = memory_size(); printf("Total memory found %luK.\n",ram_size); + ram_size += 1 <<= 10; // add 1M to round boundaries... i = 1; s = argv[1];