aboutsummaryrefslogtreecommitdiff
path: root/libexec/bootpd/report.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1997-12-24 18:56:03 +0000
committerWarner Losh <imp@FreeBSD.org>1997-12-24 18:56:03 +0000
commit9bc34f7ce14c4401e6ee449f9eeb2c9222fbe756 (patch)
tree387678feec78fd449ac77e874c0ce12402366d81 /libexec/bootpd/report.c
parentb44e4b7a2b2e4abdebb44e9c33b06a6d967ef9d7 (diff)
Notes
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 4f7f03616a2a..e754a3013c2e 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);
/*