aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/ChangeLog3
-rw-r--r--util/iobuf.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/util/ChangeLog b/util/ChangeLog
index 1ae5ac57d..8c7d995c8 100644
--- a/util/ChangeLog
+++ b/util/ChangeLog
@@ -1,5 +1,8 @@
2009-08-18 Werner Koch <[email protected]>
+ * iobuf.c (fd_cache_close): Change debug printf format assuming
+ that FILEP_OR_FD is today always an int.
+
* miscutil.c (print_string2): Loose check for control characters
to better cope with utf-8. The range 0x80..0x9f is nowadays not
anymore accidently used for control charaters. Fixes bug#1103.
diff --git a/util/iobuf.c b/util/iobuf.c
index e14a7cce0..a5ba91e6f 100644
--- a/util/iobuf.c
+++ b/util/iobuf.c
@@ -319,7 +319,7 @@ fd_cache_close (const char *fname, FILEP_OR_FD fp)
close(fp);
#endif
if( DBG_IOBUF )
- log_debug ("fd_cache_close (%p) real\n", (void*)fp);
+ log_debug ("fd_cache_close (%d) real\n", (int)fp);
return;
}
/* try to reuse a slot */