summaryrefslogtreecommitdiffstats
path: root/sys/netatm/uni
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-09-10 12:00:47 +0000
committerkris <kris@FreeBSD.org>2001-09-10 12:00:47 +0000
commit7d13aa56bf0a5cd36d2bbdefa28244dd5f81fa7b (patch)
tree7f9d31858a80737bc054c4eae0aea2aafbf3360b /sys/netatm/uni
parentca7cfbacf37cb43f308beb669da1c7fac3907334 (diff)
downloadFreeBSD-src-7d13aa56bf0a5cd36d2bbdefa28244dd5f81fa7b.zip
FreeBSD-src-7d13aa56bf0a5cd36d2bbdefa28244dd5f81fa7b.tar.gz
Don't call log() without a format string.
MFC after: 2 weeks
Diffstat (limited to 'sys/netatm/uni')
-rw-r--r--sys/netatm/uni/sscf_uni.c2
-rw-r--r--sys/netatm/uni/sscop.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netatm/uni/sscf_uni.c b/sys/netatm/uni/sscf_uni.c
index de9c32a..8ca343b 100644
--- a/sys/netatm/uni/sscf_uni.c
+++ b/sys/netatm/uni/sscf_uni.c
@@ -290,7 +290,7 @@ sscf_uni_abort(uvp, msg)
/*
* Log error message
*/
- log(LOG_ERR, msg);
+ log(LOG_ERR, "%s", msg);
/*
* Set termination states
diff --git a/sys/netatm/uni/sscop.c b/sys/netatm/uni/sscop.c
index 9381077..3c893f1 100644
--- a/sys/netatm/uni/sscop.c
+++ b/sys/netatm/uni/sscop.c
@@ -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++;
/*
OpenPOWER on IntegriCloud