Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2006 18:02:38 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95506 for review
Message-ID:  <200604181802.k3II2cxV074540@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95506

Change 95506 by imp@imp_Speedy on 2006/04/18 18:02:12

	It is <CR><LF>, not <LF><CR> to terminate lines.  Make it so.

Affected files ...

.. //depot/projects/arm/src/sys/boot/arm/at91/libat91/loader_prompt.c#2 edit

Differences ...

==== //depot/projects/arm/src/sys/boot/arm/at91/libat91/loader_prompt.c#2 (text+ko) ====

@@ -258,18 +258,18 @@
 
 	case COMMAND_HELP:
 	// dump command info
-		printf("Commands:\n\r"
-		"\tc\n\r"
-		"\td\n\r"
-		"\te\n\r"
-		"\tip\n\r"
-		"\tserver_ip\n\r"
-		"\tm\n\r"
-		"\ttftp\n\r"
-		"\ts\n\r"
-		"\tt\n\r"
-		"\tw\n\r"
-		"\tx\n\r");
+		printf("Commands:\r\n"
+		"\tc\r\n"
+		"\td\r\n"
+		"\te\r\n"
+		"\tip\r\n"
+		"\tserver_ip\r\n"
+		"\tm\r\n"
+		"\ttftp\r\n"
+		"\ts\r\n"
+		"\tt\r\n"
+		"\tw\r\n"
+		"\tx\r\n");
 	break;
 
 	case COMMAND_LOCAL_IP:
@@ -373,7 +373,7 @@
 		break;
 	}
 
-	printf("\n\r");
+	printf("\r\n");
 }
 
 
@@ -410,11 +410,11 @@
 	}
 
 	if (!p_char) {
-		printf("\n\r");
+		printf("\r\n");
 		ParseCommand(inputBuffer);
 		p_memset(inputBuffer, 0, MAX_INPUT_SIZE);
 		buffCount = 0;
-		printf("\n\r>");
+		printf("\r\n>");
 	}
 }
 
@@ -443,7 +443,7 @@
 		inputFunction = getc;
 	}
 
-	printf("\n\r>");
+	printf("\r\n>");
 
 	while (ch >= 0)
 		if ((ch = ((*inputFunction)(0))) > 0)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604181802.k3II2cxV074540>