diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-06-29 00:30:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-06-29 00:30:40 +0000 |
commit | d7ec46ab5eb00b08336c5ff0e79f238a069b9b11 (patch) | |
tree | 1bd5aa441177f7e7feb12b97f7dbb7ed385b7944 /usr.sbin/rpc.lockd/procs.c | |
parent | ff7e4041fe0df3be994603e05d09bf3d20615f3d (diff) |
use %s with syslog, probably just paranoia but it is good form
Diffstat (limited to 'usr.sbin/rpc.lockd/procs.c')
-rw-r--r-- | usr.sbin/rpc.lockd/procs.c | 4 |
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); |