From 0a6d1d8a5c9644c83223ed1ca7e0a68ff1928d62 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Fri, 5 May 2006 13:58:48 +0000 Subject: [PATCH] Update for fhstat(2) versioning. --- sys/compat/aoutm68k/aoutm68k_stat.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/compat/aoutm68k/aoutm68k_stat.c b/sys/compat/aoutm68k/aoutm68k_stat.c index fa0b2637b53f..85d6b6801bcb 100644 --- a/sys/compat/aoutm68k/aoutm68k_stat.c +++ b/sys/compat/aoutm68k/aoutm68k_stat.c @@ -1,4 +1,4 @@ -/* $NetBSD: aoutm68k_stat.c,v 1.13 2005/12/11 12:19:56 christos Exp $ */ +/* $NetBSD: aoutm68k_stat.c,v 1.14 2006/05/05 13:58:48 tsutsui Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_stat.c,v 1.13 2005/12/11 12:19:56 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_stat.c,v 1.14 2006/05/05 13:58:48 tsutsui Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -336,7 +336,7 @@ aoutm68k_sys_fhstat(l, v, retval) struct aoutm68k_sys_fhstat_args *uap = v; struct proc *p = l->l_proc; caddr_t sg = stackgap_init(p, 0); - struct sys_fhstat_args cup; + struct sys___fhstat30_args cup; struct aoutm68k_stat ast; struct stat st; int error; @@ -344,7 +344,7 @@ aoutm68k_sys_fhstat(l, v, retval) SCARG(&cup, fhp) = SCARG(uap, fhp); SCARG(&cup, sb) = stackgap_alloc(p, &sg, sizeof(st)); - if ((error = sys_fhstat(l, &cup, retval)) != 0 || + if ((error = sys___fhstat30(l, &cup, retval)) != 0 || (error = copyin(SCARG(&cup, sb), &st, sizeof(st))) != 0) return (error);