summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-09-14 19:39:11 +0000
committerDave Love <fx@gnu.org>2000-09-14 19:39:11 +0000
commit815add84858fc733101a6e242c82fa82f463e4ad (patch)
tree3c90b8a8f235b52440ad4ef24f77b7004553af45 /src/buffer.c
parent085536c2734fd68e2339701389b19b7312ab9c0b (diff)
downloademacs-815add84858fc733101a6e242c82fa82f463e4ad.tar.gz
(alloc_buffer_text): Fix xmalloc call.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 5df8e2d17cd..be00e818be7 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -4526,7 +4526,7 @@ alloc_buffer_text (b, nbytes)
#elif defined REL_ALLOC
p = r_alloc ((POINTER_TYPE **) &b->text->beg, nbytes);
#else
- p = xmalloc (b->text->beg, nbytes);
+ p = xmalloc (nbytes);
#endif
if (p == NULL)