main: Print \n at the end of the string

Change-Id: Ida757833fd2fab3854d4a0b5cc00280e5fe685c6