Remove sprintf call - this won't compile on many platforms.