summaryrefslogtreecommitdiffstats
path: root/libexec/rbootd/rbootd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rbootd/rbootd.c')
-rw-r--r--libexec/rbootd/rbootd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/rbootd/rbootd.c b/libexec/rbootd/rbootd.c
index 2f7c384..70bd791 100644
--- a/libexec/rbootd/rbootd.c
+++ b/libexec/rbootd/rbootd.c
@@ -154,7 +154,8 @@ main(argc, argv)
if ((IntfName = BpfGetIntfName(&errmsg)) == NULL) {
syslog(LOG_NOTICE, "restarted (??)");
- syslog(LOG_ERR, errmsg);
+ /* BpfGetIntfName() returns safe names, using %m */
+ syslog(LOG_ERR, "%s", errmsg);
Exit(0);
}
}
OpenPOWER on IntegriCloud