NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-ia64/48727: Missing paranthesis in ia64 boot.c



>Number:         48727
>Category:       port-ia64
>Synopsis:       Missing paranthesis in ia64 boot.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-ia64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 08 11:35:00 +0000 2014
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Missing paranthesis found by cppcheck.
>How-To-Repeat:

>Fix:
diff -u -p -r1.6 boot.c
--- sys/arch/ia64/stand/common/boot.c   25 Mar 2014 18:35:32 -0000      1.6
+++ sys/arch/ia64/stand/common/boot.c   8 Apr 2014 11:23:12 -0000
@@ -108,7 +108,7 @@ command_boot(int argc, char *argv[])
        return(CMD_ERROR);
 
     /* Call the exec handler from the loader matching the kernel */
-    command_seterr("%s", strerror(file_formats[fp->f_loader]->l_exec(fp));
+    command_seterr("%s", strerror(file_formats[fp->f_loader]->l_exec(fp)));
     return(CMD_ERROR);
 }
 



Home | Main Index | Thread Index | Old Index