summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.lockd
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-12 00:50:49 +0000
committerkris <kris@FreeBSD.org>2000-07-12 00:50:49 +0000
commit54b13849f605a88a68784747ec856f4dde2dfefc (patch)
tree6458ad9b6fafb8fc9bae41bf54330f788fbf004b /usr.sbin/rpc.lockd
parentb2ae75bb55edd98a462e35a9b5372701fd293511 (diff)
downloadFreeBSD-src-54b13849f605a88a68784747ec856f4dde2dfefc.zip
FreeBSD-src-54b13849f605a88a68784747ec856f4dde2dfefc.tar.gz
Don't call syslog() without a format string.
Diffstat (limited to 'usr.sbin/rpc.lockd')
-rw-r--r--usr.sbin/rpc.lockd/procs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpc.lockd/procs.c b/usr.sbin/rpc.lockd/procs.c
index 07060fd..5627002 100644
--- a/usr.sbin/rpc.lockd/procs.c
+++ b/usr.sbin/rpc.lockd/procs.c
@@ -165,7 +165,7 @@ static CLIENT *get_client(struct sockaddr_in *host_addr)
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;
OpenPOWER on IntegriCloud