Module Name: src
Committed By: martin
Date: Thu Oct 15 18:57:16 UTC 2020
Modified Files:
src/sys/arch/powerpc/powerpc: process_machdep.c
Log Message:
Add missing 'error' declaration
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/powerpc/powerpc/process_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/powerpc/powerpc/process_machdep.c
diff -u src/sys/arch/powerpc/powerpc/process_machdep.c:1.40 src/sys/arch/powerpc/powerpc/process_machdep.c:1.41
--- src/sys/arch/powerpc/powerpc/process_machdep.c:1.40 Thu Oct 15 17:37:36 2020
+++ src/sys/arch/powerpc/powerpc/process_machdep.c Thu Oct 15 18:57:16 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: process_machdep.c,v 1.40 2020/10/15 17:37:36 mgorny Exp $ */
+/* $NetBSD: process_machdep.c,v 1.41 2020/10/15 18:57:16 martin Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.40 2020/10/15 17:37:36 mgorny Exp $");
+__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.41 2020/10/15 18:57:16 martin Exp $");
#ifdef _KERNEL_OPT
#include "opt_altivec.h"
@@ -193,7 +193,7 @@ ptrace_machdep_dorequest(struct lwp *l,
{
struct uio uio;
struct iovec iov;
- int write = 0;
+ int write = 0, error;
switch (req) {
case PT_SETVECREGS: