summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp/relay/dhcrelay.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-18 03:44:07 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-18 03:44:07 +0000
commit1e7cda9b25e364fa644b87b78fe8f81b189a9493 (patch)
tree09462eb523569ee9d764a387e6a0acb9b14f403d /usr.sbin/dhcp/relay/dhcrelay.c
parentce05b867a48a0ab6a5bad5700ca7c6497dd7ac79 (diff)
format string audit. From: Gregory Steuck <greg@nest.cx>
Diffstat (limited to 'usr.sbin/dhcp/relay/dhcrelay.c')
-rw-r--r--usr.sbin/dhcp/relay/dhcrelay.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/dhcp/relay/dhcrelay.c b/usr.sbin/dhcp/relay/dhcrelay.c
index 876b7e7bd18..e549395de2e 100644
--- a/usr.sbin/dhcp/relay/dhcrelay.c
+++ b/usr.sbin/dhcp/relay/dhcrelay.c
@@ -159,12 +159,12 @@ int main (argc, argv, envp)
if (!quiet) {
note ("%s %s", message, DHCP_VERSION);
- note (copyright);
- note (arr);
- note ("");
- note (contrib);
- note (url);
- note ("");
+ note ("%s", copyright);
+ note ("%s", arr);
+ note ("%s", "");
+ note ("%s", contrib);
+ note ("%s", url);
+ note ("%s", "");
} else
log_perror = 0;
@@ -344,10 +344,10 @@ static void usage (appname)
note (message);
note (copyright);
note (arr);
- note ("");
+ note ("%s", "");
note (contrib);
note (url);
- note ("");
+ note ("%s", "");
warn ("Usage: %s [-i] [-d] [-i if0] [...-i ifN] [-p <port>]", appname);
error (" [-pf pidfilename] [server1 [... serverN]]");