Module Name: src Committed By: martin Date: Thu Oct 15 18:58:59 UTC 2020
Modified Files: src/sys/arch/sh3/sh3: process_machdep.c Log Message: Add missing 'error' declaration To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/sh3/sh3/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/sh3/sh3/process_machdep.c diff -u src/sys/arch/sh3/sh3/process_machdep.c:1.23 src/sys/arch/sh3/sh3/process_machdep.c:1.24 --- src/sys/arch/sh3/sh3/process_machdep.c:1.23 Thu Oct 15 17:37:36 2020 +++ src/sys/arch/sh3/sh3/process_machdep.c Thu Oct 15 18:58:59 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: process_machdep.c,v 1.23 2020/10/15 17:37:36 mgorny Exp $ */ +/* $NetBSD: process_machdep.c,v 1.24 2020/10/15 18:58:59 martin Exp $ */ /* * Copyright (c) 1993 The Regents of the University of California. @@ -77,7 +77,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.23 2020/10/15 17:37:36 mgorny Exp $"); +__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.24 2020/10/15 18:58:59 martin Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -188,7 +188,7 @@ ptrace_machdep_dorequest(struct lwp *l, { struct uio uio; struct iovec iov; - int write = 0; + int write = 0, error; switch (req) { default: