From e5cdec4dfad1fecde28f994182f4aa4e76f5f731 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 13 Feb 1998 14:38:25 +0000 Subject: type botch --- sys/compat/ultrix/ultrix_fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/compat/ultrix/ultrix_fs.c b/sys/compat/ultrix/ultrix_fs.c index bbfcb224cf8..975a3e1f287 100644 --- a/sys/compat/ultrix/ultrix_fs.c +++ b/sys/compat/ultrix/ultrix_fs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ultrix_fs.c,v 1.4 1997/04/12 21:21:29 graichen Exp $ */ +/* $OpenBSD: ultrix_fs.c,v 1.5 1998/02/13 14:38:24 deraadt Exp $ */ /* $NetBSD: ultrix_fs.c,v 1.4 1996/04/07 17:23:06 jonathan Exp $ */ /* @@ -360,7 +360,7 @@ ultrix_sys_mount(p, v, retval) /* Copy string-ified version of mount type back out to user space */ SCARG(&nuap, type) = (char *)usp; - if ((error = copyout(fstype, SCARG(&nuap, type), + if ((error = copyout(fstype, (void *)SCARG(&nuap, type), strlen(fstype)+1)) != 0) { return (error); } -- cgit v1.2.3