Patch in snprintf