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/ypserv/yp_main.c | |
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/ypserv/yp_main.c')
-rw-r--r-- | usr.sbin/ypserv/yp_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypserv/yp_main.c b/usr.sbin/ypserv/yp_main.c index 837b515..07b2089 100644 --- a/usr.sbin/ypserv/yp_main.c +++ b/usr.sbin/ypserv/yp_main.c @@ -91,11 +91,11 @@ void _msgout(char* msg) { if (debug) { 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); } pid_t yp_pid; |