From: Richard Jones Date: Thu, 23 Apr 2009 19:08:29 +0000 (+0100) Subject: Fix 64 bit memsize overhead. X-Git-Tag: 1.0.11^0 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=5b0fcfffc1872f335a2a6da9505f2e8926b1a740;p=libguestfs.git Fix 64 bit memsize overhead. --- diff --git a/src/guestfs.c b/src/guestfs.c index 4dc8dec..77b1614 100644 --- a/src/guestfs.c +++ b/src/guestfs.c @@ -729,9 +729,9 @@ guestfs_launch (guestfs_h *g) /* Want to give userspace some room, so: */ memsize += 128; -#if AC_SIZEOF_LONG == 8 +#if SIZEOF_LONG == 8 /* On 64 bit, assume some overhead. */ - memsize += 32; + memsize += 64; #endif } else memsize = 512;