Fixing errors in vcutil.c