I suggest `snprintf()` that is safer.