summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.ypupdated
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.ypupdated
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.ypupdated')
-rw-r--r--usr.sbin/rpc.ypupdated/ypupdated_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpc.ypupdated/ypupdated_main.c b/usr.sbin/rpc.ypupdated/ypupdated_main.c
index 116f77d..4d3f126 100644
--- a/usr.sbin/rpc.ypupdated/ypupdated_main.c
+++ b/usr.sbin/rpc.ypupdated/ypupdated_main.c
@@ -84,11 +84,11 @@ void _msgout(char* msg)
{
#ifdef RPC_SVC_FG
if (_rpcpmstart)
- syslog(LOG_ERR, msg);
+ syslog(LOG_ERR, "%s", msg);
else
warnx("%s", msg);
#else
- syslog(LOG_ERR, msg);
+ syslog(LOG_ERR, "%s", msg);
#endif
}
OpenPOWER on IntegriCloud