summaryrefslogtreecommitdiff
path: root/mail/xbuffy/patches/patch-ab
blob: fcf2a7a7547194bd4ccba760f127873015f6e098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ab,v 1.1.1.1 2000/12/05 02:04:49 wiz Exp $

--- libdyn/dyn_append.c.orig	Tue Aug 10 04:34:01 1999
+++ libdyn/dyn_append.c
@@ -11,6 +11,7 @@
  */
 
 #include <stdio.h>
+#include <string.h>
 
 #include "dynP.h"
 
@@ -20,7 +21,7 @@
    int num;
 {
      if (obj->debug)
-	  fprintf(stderr, "dyn: append: Writing %d bytes from %d to %d + %d\n",
+	  fprintf(stderr, "dyn: append: Writing %d bytes from %p to %p + %d\n",
 		  obj->el_size*num, els, obj->array, obj->num_el*obj->el_size);
 
      if (obj->size < obj->num_el + num) {