From 86d0c432a6cf281711887f115fe8b62cc840c157 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 22 Nov 2019 15:06:07 +0000 Subject: [PATCH] amd: add deprecation warning on program startup Reviewed by: rgrimes, trasz, kevans, brooks Discussed with: cy Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D22466 --- contrib/amd/amd/amd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/amd/amd/amd.c b/contrib/amd/amd/amd.c index 7ec49ce1cec5..5efe0d81be99 100644 --- a/contrib/amd/amd/amd.c +++ b/contrib/amd/amd/amd.c @@ -414,6 +414,8 @@ main(int argc, char *argv[]) progname = "amd"; am_set_progname(progname); + plog(XLOG_WARNING, "built-in amd in FreeBSD is deprecated and will be removed before FreeBSD 13"); + /* * Initialize process id. This is kept * cached since it is used for generating