Fix typo in patch porting