aboutsummaryrefslogtreecommitdiff
path: root/contrib/amd/amd/amd.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-11-22 15:06:07 +0000
committerEd Maste <emaste@FreeBSD.org>2019-11-22 15:06:07 +0000
commit86d0c432a6cf281711887f115fe8b62cc840c157 (patch)
treea756c08d68b618b3e02dc97e45603bd98b7073e5 /contrib/amd/amd/amd.c
parent21a6a02adc347aaf7e9767c4f816f1ae35723037 (diff)
downloadsrc-86d0c432a6cf281711887f115fe8b62cc840c157.tar.gz
src-86d0c432a6cf281711887f115fe8b62cc840c157.zip
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
Notes
Notes: svn path=/head/; revision=354998
Diffstat (limited to 'contrib/amd/amd/amd.c')
-rw-r--r--contrib/amd/amd/amd.c2
1 files changed, 2 insertions, 0 deletions
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