summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-12-08 14:25:53 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-12-08 14:25:53 +0000
commitb6f29caaba4aaeb972675d67ca7c434a5e9b73a7 (patch)
tree5ef85dc039e10e57fb15b250c4ce10f81084cfa6 /sys/compat
parent52aa3799b1532a9cd3e62ab778110510fca51689 (diff)
-Wcast-qual happiness
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/common/compat_util.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/common/compat_util.c b/sys/compat/common/compat_util.c
index 58425111887..89cba00ae75 100644
--- a/sys/compat/common/compat_util.c
+++ b/sys/compat/common/compat_util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compat_util.c,v 1.4 1996/04/18 21:21:32 niklas Exp $ */
+/* $OpenBSD: compat_util.c,v 1.5 1996/12/08 14:25:46 niklas Exp $ */
/* $NetBSD: compat_util.c,v 1.4 1996/03/14 19:31:45 christos Exp $ */
/*
@@ -129,8 +129,7 @@ emul_find(p, sgp, prefix, path, pbuf, cflag)
* to the emulation root directory. This is expensive :-(
*/
/* XXX: prototype should have const here for NDINIT */
- NDINIT(&ndroot, LOOKUP, FOLLOW, UIO_SYSSPACE,
- (char *) prefix, p);
+ NDINIT(&ndroot, LOOKUP, FOLLOW, UIO_SYSSPACE, prefix, p);
if ((error = namei(&ndroot)) != 0)
goto bad2;