diff options
author | kris <kris@FreeBSD.org> | 2000-07-12 00:50:49 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-12 00:50:49 +0000 |
commit | 54b13849f605a88a68784747ec856f4dde2dfefc (patch) | |
tree | 6458ad9b6fafb8fc9bae41bf54330f788fbf004b /usr.sbin/rpc.ypxfrd | |
parent | b2ae75bb55edd98a462e35a9b5372701fd293511 (diff) | |
download | FreeBSD-src-54b13849f605a88a68784747ec856f4dde2dfefc.zip FreeBSD-src-54b13849f605a88a68784747ec856f4dde2dfefc.tar.gz |
Don't call syslog() without a format string.
Diffstat (limited to 'usr.sbin/rpc.ypxfrd')
-rw-r--r-- | usr.sbin/rpc.ypxfrd/ypxfrd_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpc.ypxfrd/ypxfrd_main.c b/usr.sbin/rpc.ypxfrd/ypxfrd_main.c index 5cb6b42..50a5793 100644 --- a/usr.sbin/rpc.ypxfrd/ypxfrd_main.c +++ b/usr.sbin/rpc.ypxfrd/ypxfrd_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 } |