diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1996-09-03 23:17:15 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1996-09-03 23:17:15 +0000 |
| commit | 6bce784d06c24e461a05ceeef7b20d434cb8c60d (patch) | |
| tree | f1af8411ff9145df0f74e2948fd40dea2f9a67ea /sys/compat/linux/linux_util.c | |
| parent | e7fa2650cc7987d3a3a414123df7b78c132d301b (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_util.c')
| -rw-r--r-- | sys/compat/linux/linux_util.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_util.c b/sys/compat/linux/linux_util.c index bc4efddd005b..7025e5071f5c 100644 --- a/sys/compat/linux/linux_util.c +++ b/sys/compat/linux/linux_util.c @@ -27,7 +27,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * from: svr4_util.c,v 1.5 1995/01/22 23:44:50 christos Exp - * $Id: linux_util.c,v 1.1 1996/03/02 19:38:02 peter Exp $ + * $Id: linux_util.c,v 1.2 1996/08/05 20:52:30 nate Exp $ */ #include <sys/param.h> @@ -134,9 +134,8 @@ linux_emul_find(p, sgp, prefix, path, pbuf, cflag) * root directory and never finding it, because "/" resolves * to the emulation root directory. This is expensive :-( */ - /* XXX: prototype should have const here for NDINIT */ - NDINIT(&ndroot, LOOKUP, FOLLOW, UIO_SYSSPACE, - (char *) linux_emul_path, p); + NDINIT(&ndroot, LOOKUP, FOLLOW, UIO_SYSSPACE, linux_emul_path, + p); if ((error = namei(&ndroot)) != 0) { /* Cannot happen! */ |
