Module Name:    src
Committed By:   wiz
Date:           Wed Feb  3 13:48:53 UTC 2010

Modified Files:
        src/sys/compat/linux/arch/i386: linux_machdep.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.147 -r1.148 src/sys/compat/linux/arch/i386/linux_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/i386/linux_machdep.c
diff -u src/sys/compat/linux/arch/i386/linux_machdep.c:1.147 src/sys/compat/linux/arch/i386/linux_machdep.c:1.148
--- src/sys/compat/linux/arch/i386/linux_machdep.c:1.147	Tue Jan  5 13:22:41 2010
+++ src/sys/compat/linux/arch/i386/linux_machdep.c	Wed Feb  3 13:48:53 2010
@@ -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

Reply via email to