Index: kernel/arch/sparc64/src/drivers/sgcn.c
===================================================================
--- kernel/arch/sparc64/src/drivers/sgcn.c	(revision ce87a8aaf3ac3bf10d701b7bb521e7ebe40eda5c)
+++ kernel/arch/sparc64/src/drivers/sgcn.c	(revision 82bb9c121efbe640882ffd5dbdc9101eb995d0fa)
@@ -265,7 +265,6 @@
 
 /**
- * SGCN output operation. Prints a single character to the SGCN. If the line
- * feed character is written ('\n'), the carriage return character ('\r') is
- * written straight away. 
+ * SGCN output operation. Prints a single character to the SGCN. Newline
+ * character is converted to CRLF.
  */
 static void sgcn_putchar(outdev_t *od, const wchar_t ch, bool silent)
@@ -275,7 +274,7 @@
 		
 		if (ascii_check(ch)) {
-			sgcn_do_putchar(ch);
 			if (ch == '\n')
 				sgcn_do_putchar('\r');
+			sgcn_do_putchar(ch);
 		} else
 			sgcn_do_putchar(invalch);
