(alloc_buffer_text): Fix xmalloc call.
authorDave Love <fx@gnu.org>
Thu, 14 Sep 2000 19:39:11 +0000 (19:39 +0000)
committerDave Love <fx@gnu.org>
Thu, 14 Sep 2000 19:39:11 +0000 (19:39 +0000)
src/buffer.c

index 5df8e2d..be00e81 100644 (file)
@@ -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)