Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/arch/i386 Remove extra parenthesis. Found b...



details:   https://anonhg.NetBSD.org/src/rev/1a3c86dad089
branches:  trunk
changeset: 751395:1a3c86dad089
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Feb 03 13:48:53 2010 +0000

description:
Remove extra parenthesis. Found by cppcheck, reported by
Henning Petersen in PR 42732.

diffstat:

 sys/compat/linux/arch/i386/linux_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4c3cf2ba66fd -r 1a3c86dad089 sys/compat/linux/arch/i386/linux_machdep.c
--- a/sys/compat/linux/arch/i386/linux_machdep.c        Wed Feb 03 13:48:17 2010 +0000
+++ b/sys/compat/linux/arch/i386/linux_machdep.c        Wed Feb 03 13:48:53 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_machdep.c,v 1.147 2010/01/05 13:22:41 mbalmer Exp $      */
+/*     $NetBSD: linux_machdep.c,v 1.148 2010/02/03 13:48:53 wiz Exp $  */
 
 /*-
  * Copyright (c) 1995, 2000, 2008, 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.147 2010/01/05 13:22:41 mbalmer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.148 2010/02/03 13:48:53 wiz Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_vm86.h"
@@ -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