Be more specific in warning

Change-Id: I96d5dc1267af714e78e431581592e75f0bff73f4