fixed a sprintf() bug, only visible in the ds390 port