Use "sizeof" on snprint, not a hardcoded value.