PERFORCE change 95506 for review

Warner Losh imp at FreeBSD.org
Tue Apr 18 18:02:47 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=95506

Change 95506 by imp at 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)


More information about the p4-projects mailing list