core: fix warning string typo