mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
Don't call log() without a format string.
MFC after: 2 weeks
This commit is contained in:
parent
db8b9c344e
commit
7c483fee3f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83299
|
@ -290,7 +290,7 @@ sscf_uni_abort(uvp, msg)
|
|||
/*
|
||||
* Log error message
|
||||
*/
|
||||
log(LOG_ERR, msg);
|
||||
log(LOG_ERR, "%s", msg);
|
||||
|
||||
/*
|
||||
* Set termination states
|
||||
|
|
|
@ -399,7 +399,7 @@ sscop_abort(sop, msg)
|
|||
/*
|
||||
* Log and count error
|
||||
*/
|
||||
log(LOG_ERR, msg);
|
||||
log(LOG_ERR, "%s", msg);
|
||||
sscop_stat.sos_aborts++;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue