summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd/report.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/bootpd/report.c')
-rw-r--r--libexec/bootpd/report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/bootpd/report.c b/libexec/bootpd/report.c
index 4f7f036..e754a30 100644
--- a/libexec/bootpd/report.c
+++ b/libexec/bootpd/report.c
@@ -111,7 +111,7 @@ report(priority, fmt, va_alist)
#else
va_start(ap);
#endif
- vsprintf(buf, fmt, ap);
+ vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
/*
OpenPOWER on IntegriCloud