git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8be6c70
)
Fix 64 bit memsize overhead.
1.0.11
author
Richard Jones
<rjones@redhat.com>
Thu, 23 Apr 2009 19:08:29 +0000
(20:08 +0100)
committer
Richard Jones
<rjones@redhat.com>
Thu, 23 Apr 2009 19:08:29 +0000
(20:08 +0100)
src/guestfs.c
patch
|
blob
|
history
diff --git
a/src/guestfs.c
b/src/guestfs.c
index
4dc8dec
..
77b1614
100644
(file)
--- 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;