From 5b0fcfffc1872f335a2a6da9505f2e8926b1a740 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 23 Apr 2009 20:08:29 +0100 Subject: [PATCH] Fix 64 bit memsize overhead. --- src/guestfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.8.3.1