fixed copy-and-paste error in vendor.c