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
This commit is contained in:
emaste 2019-11-22 15:06:07 +00:00
parent b537917f0b
commit 9b3442f352

View File

@ -414,6 +414,8 @@ main(int argc, char *argv[])
progname = "amd"; progname = "amd";
am_set_progname(progname); 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 * Initialize process id. This is kept
* cached since it is used for generating * cached since it is used for generating