fix trmem print line prototype