NetBSD-Bugs archive

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

port-i386/42732: Delete parenthesies in sys/compat/linux/arch/i386/linux_machdep.c



>Number:         42732
>Category:       port-i386
>Synopsis:       Delete  parenthesies in 
>sys/compat/linux/arch/i386/linux_machdep.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 03 13:45:00 +0000 2010
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Delete  parenthesies in sys/compat/linux/arch/i386/linux_machdep.c found by 
cppcheck.
>How-To-Repeat:

>Fix:
diff -u -r1.146 linux_machdep.c
--- sys/compat/linux/arch/i386/linux_machdep.c  23 Nov 2009 00:46:06 -0000      
1.146
+++ sys/compat/linux/arch/i386/linux_machdep.c  1 Dec 2009 09:41:26 -0000
@@ -673,7 +673,7 @@
                return linux_write_ldt(l, (const void *)uap, 1);
        case 2:
 #ifdef notyet
-               return (linux_read_default_ldt(l, (const void *)uap, retval);
+               return linux_read_default_ldt(l, (const void *)uap, retval);
 #else
                return (ENOSYS);
 #endif



Home | Main Index | Thread Index | Old Index