Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/pecoff pecoff_copyargs(): Fix incorrect pointer t...
details: https://anonhg.NetBSD.org/src/rev/d46ef82f038c
branches: trunk
changeset: 518650:d46ef82f038c
user: kent <kent%NetBSD.org@localhost>
date: Mon Dec 03 06:11:33 2001 +0000
description:
pecoff_copyargs(): Fix incorrect pointer type of the variable `ap'.
diffstat:
sys/compat/pecoff/pecoff_exec.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r f876c3c69825 -r d46ef82f038c sys/compat/pecoff/pecoff_exec.c
--- a/sys/compat/pecoff/pecoff_exec.c Mon Dec 03 05:52:13 2001 +0000
+++ b/sys/compat/pecoff/pecoff_exec.c Mon Dec 03 06:11:33 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pecoff_exec.c,v 1.13 2001/11/27 17:59:49 oki Exp $ */
+/* $NetBSD: pecoff_exec.c,v 1.14 2001/12/03 06:11:33 kent Exp $ */
/*
* Copyright (c) 2000 Masaru OKI
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pecoff_exec.c,v 1.13 2001/11/27 17:59:49 oki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pecoff_exec.c,v 1.14 2001/12/03 06:11:33 kent Exp $");
/*#define DEBUG_PECOFF*/
@@ -128,13 +128,13 @@
void *argp;
{
int len = sizeof(struct pecoff_args);
- struct pecoff_imghdr *ap;
+ struct pecoff_args *ap;
int error;
if ((error = copyargs(pack, arginfo, stackp, argp)) != 0)
return error;
- ap = (struct pecoff_imghdr *)pack->ep_emul_arg;
+ ap = (struct pecoff_args *)pack->ep_emul_arg;
if ((error = copyout(ap, *stackp, len)) != 0)
return error;
Home |
Main Index |
Thread Index |
Old Index