diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-13 14:38:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-13 14:38:25 +0000 |
commit | e5cdec4dfad1fecde28f994182f4aa4e76f5f731 (patch) | |
tree | a20569877cb6ef0f104c0a14c26de8eadb64d9cb /sys/compat | |
parent | a4e999cdadd8116fdeb0fd58113351344d504096 (diff) |
type botch
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/ultrix/ultrix_fs.c | 4 |
1 files 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); } |