Fix a typo in a deprecation warning (GH-24423)

1 file changed