summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2003-02-23 03:00:34 +0000
committerDavid Hankins <dhankins@isc.org>2003-02-23 03:00:34 +0000
commit75aee8af80597e1d5527befcf83a578acd511f7d (patch)
treee839beec998a81dfc4a092f237549b4f7cbf1a6f /common
parent5e99c766e4e2444e10dd2b5e7b988e1f30c4e2ff (diff)
downloadisc-dhcp-75aee8af80597e1d5527befcf83a578acd511f7d.tar.gz
- Fixed a log_info call that lacked a format string, from Ted Lemon.
Diffstat (limited to 'common')
-rw-r--r--common/print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/print.c b/common/print.c
index 691f365d..84f5c5d4 100644
--- a/common/print.c
+++ b/common/print.c
@@ -3,7 +3,7 @@
Turn data structures into printable text. */
/*
- * Copyright (c) 1995-2002 Internet Software Consortium.
+ * Copyright (c) 1995-2003 Internet Software Consortium.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -43,7 +43,7 @@
#ifndef lint
static char copyright[] =
-"$Id: print.c,v 1.53.2.7 2002/11/17 02:26:59 dhankins Exp $ Copyright (c) 1995-2002 The Internet Software Consortium. All rights reserved.\n";
+"$Id: print.c,v 1.53.2.8 2003/02/23 03:00:34 dhankins Exp $ Copyright (c) 1995-2003 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -337,7 +337,7 @@ void hash_dump (table)
if (bp -> len)
dump_raw (bp -> name, bp -> len);
else
- log_info ((const char *)bp -> name);
+ log_info ("%s", (const char *)bp -> name);
}
}
}