Fixed sprintf/snprintf.