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

blaisorblade_at_yahoo.it
Date: 03/30/05

  • Next message: Paulo Marques: "Re: Do not misuse Coverity please"
    To: torvalds@osdl.org
    Date:	Wed, 30 Mar 2005 19:34:03 +0200
    
    

    From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>, "Anthony Brock" <Anthony_Brock@ous.edu>

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

    Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>

    ---
     linux-2.6.11-paolo/arch/um/kernel/um_arch.c |    2 +-
     1 files changed, 1 insertion(+), 1 deletion(-)
    diff -puN arch/um/kernel/um_arch.c~uml-correct-message arch/um/kernel/um_arch.c
    --- linux-2.6.11/arch/um/kernel/um_arch.c~uml-correct-message	2005-03-24 03:04:59.000000000 +0100
    +++ linux-2.6.11-paolo/arch/um/kernel/um_arch.c	2005-03-24 03:05:36.000000000 +0100
    @@ -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)
    _
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Paulo Marques: "Re: Do not misuse Coverity please"

    Relevant Pages

    • [08/08] uml: va_copy fix
      ... void *arg; ... int *res; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [patch 1/1] uml-malloc-use-vmalloc-fix-again
      ... +extern int __kmalloc_ok; ... static void last_ditch_exit ... void initial_thread_cb, void *arg) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] fs/fcntl.c : dont test unsigned value for less than zero
      ... I think the real problem here is that 'arg' ... architecture's ptrace code could easily make use of the latter, ... But be careful not to "fix up" ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [RFC] enhanced version of net_random()
      ... really thread safe, but was immune to thread corruption. ... +void net_srandom(unsigned long entropy) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.2-rc2-mm2
      ... The nfsd code does not need to check CAP_SETGID or> NGROUPS_MAX, ... Interestingly, nfsd_setuser returns void, so any error checking is moot. ... lack of any way to handle errors bothers me. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)