[rtems commit] timecounter: Merge FreeBSD change r280012
Sebastian Huber
sebh at rtems.org
Thu Oct 12 05:06:03 UTC 2017
Module: rtems
Branch: master
Commit: 0aef6fb35009cbd2d7d62594eb76d625c4da2d71
Changeset: http://git.rtems.org/rtems/commit/?id=0aef6fb35009cbd2d7d62594eb76d625c4da2d71
Author: Ian Lepore <ian at FreeBSD.org>
Date: Sat Mar 14 23:16:12 2015 +0000
timecounter: Merge FreeBSD change r280012
Use sbuf_printf() for sysctl strings instead of stack buffers and snprintf().
Update #3175.
---
cpukit/score/src/kern_tc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index 5cdcafb..0b27c8b 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_tc.c
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD r284178 2015-06-09T11:49:56Z$");
#include <sys/limits.h>
#include <sys/lock.h>
#include <sys/mutex.h>
+#include <sys/sbuf.h>
#include <sys/sysctl.h>
#include <sys/syslog.h>
#include <sys/systm.h>
More information about the vc
mailing list