From c5676feebfd576f20f07b2a1a0df3e60b6f8d9da Mon Sep 17 00:00:00 2001 From: cem Date: Tue, 7 May 2019 21:15:11 +0000 Subject: [PATCH] Fix libsbuf sbuf_printf_drain symbol version (Introduced incorrectly in r347229 earlier today.) As pointed out by kevans, 1.6 should be used for FreeBSD 13, like r340383. Submitted by: kevans Reported by: kib Reviewed by: jilles X-MFC-with: r347229 Differential Revision: https://reviews.freebsd.org/D20187 --- lib/libsbuf/Symbol.map | 5 ++++- lib/libsbuf/Version.def | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/libsbuf/Symbol.map b/lib/libsbuf/Symbol.map index 44839d19456a..3efd20bdf5c5 100644 --- a/lib/libsbuf/Symbol.map +++ b/lib/libsbuf/Symbol.map @@ -37,6 +37,9 @@ FBSD_1.4 { FBSD_1.5 { sbuf_putbuf; - sbuf_printf_drain; }; +/* Added in FreeBSD 13.x */ +FBSD_1.6 { + sbuf_printf_drain; +}; diff --git a/lib/libsbuf/Version.def b/lib/libsbuf/Version.def index 2894712e22df..8b472b8b3782 100644 --- a/lib/libsbuf/Version.def +++ b/lib/libsbuf/Version.def @@ -11,3 +11,7 @@ FBSD_1.4 { FBSD_1.5 { } FBSD_1.4; + +# This version was first added to 13.0-current. +FBSD_1.6 { +} FBSD_1.5;