summaryrefslogtreecommitdiff
path: root/common/print.c
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2009-01-22 00:43:58 +0000
committerShawn Routhier <sar@isc.org>2009-01-22 00:43:58 +0000
commitae566556280cc57824f6ab44fdf5aef97274ee42 (patch)
tree671dd88802210218a493303b8949512939db4dba /common/print.c
parent5536fc37e3a0cb0cccce4209f3e06b56885c43d7 (diff)
downloadisc-dhcp-ae566556280cc57824f6ab44fdf5aef97274ee42.tar.gz
Update for 19054 - modifications to keep GCC 4.3 happy
Diffstat (limited to 'common/print.c')
-rw-r--r--common/print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/print.c b/common/print.c
index 44e0ce15..f172cf76 100644
--- a/common/print.c
+++ b/common/print.c
@@ -3,7 +3,7 @@
Turn data structures into printable text. */
/*
- * Copyright (c) 2004-2007 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2004-2007,2009 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1995-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
@@ -308,7 +308,7 @@ void dump_raw (buf, len)
lbuf[54]=' ';
lbuf[55]=' ';
lbuf[73]='\0';
- log_info (lbuf);
+ log_info ("%s", lbuf);
}
memset(lbuf, ' ', 79);
lbuf [79] = 0;
@@ -332,7 +332,7 @@ void dump_raw (buf, len)
lbuf[54]=' ';
lbuf[55]=' ';
lbuf[73]='\0';
- log_info (lbuf);
+ log_info ("%s", lbuf);
}
void hash_dump (table)