Skip to contentSkip to conversation

uml: correct error message [for 2.6.12]

PATCH In review [email protected] 1 participant 1 message Mar 30, 2005 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

PATCH 7/8 uml: correct error message [for 2.6.12]

From: Paolo 'Blaisorblade' Giarrusso <[email protected]>, "Anthony Brock" <[email protected]>

Replace the message with a more meaningful one. Noted by Anthony Brock.

---

 linux-2.6.11-paolo/arch/um/kernel/um_arch.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/um/kernel/um_arch.c renamed from arch/um/kernel/um_arch.c~uml-correct-message +1 -1
diff -puN arch/um/kernel/um_arch.c~uml-correct-message arch/um/kernel/um_arch.c
@@ -47,7 +47,7 @@ char command_line[COMMAND_LINE_SIZE] = {
 void add_arg(char *arg)
 {
 	if (strlen(command_line) + strlen(arg) + 1 > COMMAND_LINE_SIZE) {
-		printf("add_arg: Too much command line!\n");
+		printf("add_arg: Too many command line arguments!\n");
 		exit(1);
 	}
 	if(strlen(command_line) > 0)

_

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel