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:
parent
b537917f0b
commit
9b3442f352
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user