fixed writeln()

small fix but incredibly useful for debugging 
the `s.ptr` part is the important thing!
`printf` does take a pointer not a string.