[releng] Fix deprecations
2 files changed