summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-23 20:08:29 +0100
committerRichard Jones <rjones@redhat.com>2009-04-23 20:08:29 +0100
commit5b0fcfffc1872f335a2a6da9505f2e8926b1a740 (patch)
treed9a5dcebc6d9d1b480002f388a3506f2685ec037
parent8be6c7056d18cd5aa5edddfc73bfd4206b038cee (diff)
downloadlibguestfs-5b0fcfffc1872f335a2a6da9505f2e8926b1a740.tar.gz
libguestfs-5b0fcfffc1872f335a2a6da9505f2e8926b1a740.tar.xz
libguestfs-5b0fcfffc1872f335a2a6da9505f2e8926b1a740.zip
Fix 64 bit memsize overhead.1.0.11
-rw-r--r--src/guestfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guestfs.c b/src/guestfs.c
index 4dc8dec7..77b16147 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;