atm: use scnprintf() instead of sprintf()