Update thread.c

Just some \n on the printf texts