summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-06-29 00:30:39 +0000
committermillert <millert@openbsd.org>2000-06-29 00:30:39 +0000
commite928e3fc82f77ec425cac9682137c721370fe58a (patch)
treef54b198371085ce7c7f3b14f642a561e0dd7773a
parentuse %s with syslog; millert wrote an identical patch (diff)
downloadwireguard-openbsd-e928e3fc82f77ec425cac9682137c721370fe58a.tar.xz
wireguard-openbsd-e928e3fc82f77ec425cac9682137c721370fe58a.zip
use %s with syslog, probably just paranoia but it is good form
-rw-r--r--usr.sbin/rpc.lockd/procs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpc.lockd/procs.c b/usr.sbin/rpc.lockd/procs.c
index f48956706c6..b0a873d57f4 100644
--- a/usr.sbin/rpc.lockd/procs.c
+++ b/usr.sbin/rpc.lockd/procs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procs.c,v 1.8 1998/07/10 08:06:52 deraadt Exp $ */
+/* $OpenBSD: procs.c,v 1.9 2000/06/29 00:30:39 millert Exp $ */
/*
* Copyright (c) 1995
@@ -122,7 +122,7 @@ get_client(host_addr)
host_addr->sin_port = 0;
client = clntudp_create(host_addr, NLM_PROG, NLM_VERS, retry_time, &sock_no);
if (!client) {
- syslog(LOG_ERR, clnt_spcreateerror("clntudp_create"));
+ syslog(LOG_ERR, "%s", clnt_spcreateerror("clntudp_create"));
syslog(LOG_ERR, "Unable to return result to %s",
inet_ntoa(host_addr->sin_addr));
return (NULL);