summaryrefslogtreecommitdiff
path: root/usr.sbin/rbootd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-28 23:56:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-28 23:56:19 +0000
commit5d471585c56a0c0dfcee92358a275679974255ef (patch)
treee6d7e72e9b6af1e51182037b2a875cad63617466 /usr.sbin/rbootd
parente206b9b0c585bd1162ea7220c866b98805deccdf (diff)
BpfGetIntfName() returns syslog fmt args which are safe
Diffstat (limited to 'usr.sbin/rbootd')
-rw-r--r--usr.sbin/rbootd/rbootd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/rbootd/rbootd.c b/usr.sbin/rbootd/rbootd.c
index 3b1db09b3fa..8d820a73682 100644
--- a/usr.sbin/rbootd/rbootd.c
+++ b/usr.sbin/rbootd/rbootd.c
@@ -151,6 +151,7 @@ main(argc, argv)
if ((IntfName = BpfGetIntfName(&errmsg)) == NULL) {
syslog(LOG_NOTICE, "restarted (??)");
+ /* BpfGetIntfName() returns safe names, using %m */
syslog(LOG_ERR, errmsg);
Exit(0);
}