Module Name: src
Committed By: christos
Date: Sat Nov 2 00:41:58 UTC 2013
Modified Files:
src/sys/arch/amd64/amd64: netbsd32_machdep.c
Log Message:
sprinkle __diagused
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/amd64/amd64/netbsd32_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/arch/amd64/amd64/netbsd32_machdep.c
diff -u src/sys/arch/amd64/amd64/netbsd32_machdep.c:1.82 src/sys/arch/amd64/amd64/netbsd32_machdep.c:1.83
--- src/sys/arch/amd64/amd64/netbsd32_machdep.c:1.82 Wed Oct 23 16:18:50 2013
+++ src/sys/arch/amd64/amd64/netbsd32_machdep.c Fri Nov 1 20:41:58 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_machdep.c,v 1.82 2013/10/23 20:18:50 drochner Exp $ */
+/* $NetBSD: netbsd32_machdep.c,v 1.83 2013/11/02 00:41:58 christos Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.82 2013/10/23 20:18:50 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.83 2013/11/02 00:41:58 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -956,7 +956,7 @@ startlwp32(void *arg)
{
ucontext32_t *uc = arg;
lwp_t *l = curlwp;
- int error;
+ int error __diagused;
error = cpu_setmcontext32(l, &uc->uc_mcontext, uc->uc_flags);
KASSERT(error == 0);