diff options
| author | pooka <pooka@NetBSD.org> | 2007-12-08 19:29:36 +0000 |
|---|---|---|
| committer | pooka <pooka@NetBSD.org> | 2007-12-08 19:29:36 +0000 |
| commit | db06a930e64afd6ddf07786e564f24b98ce54054 (patch) | |
| tree | 1391aa2344817ba7674461f7c86b2facdb2dec62 /sys/dev/kloader.c | |
| parent | 85c7ab06409cab05aa97f9d33c57dadaadbb256f (diff) | |
Remove cn_lwp from struct componentname. curlwp should be used
from on. The NDINIT() macro no longer takes the lwp parameter and
associates the credentials of the calling thread with the namei
structure.
Diffstat (limited to 'sys/dev/kloader.c')
| -rw-r--r-- | sys/dev/kloader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/kloader.c b/sys/dev/kloader.c index bb602da1f59..fea0887e862 100644 --- a/sys/dev/kloader.c +++ b/sys/dev/kloader.c @@ -1,4 +1,4 @@ -/* $NetBSD: kloader.c,v 1.12 2007/02/21 22:59:58 thorpej Exp $ */ +/* $NetBSD: kloader.c,v 1.13 2007/12/08 19:29:41 pooka Exp $ */ /*- * Copyright (c) 2001, 2002, 2004 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kloader.c,v 1.12 2007/02/21 22:59:58 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kloader.c,v 1.13 2007/12/08 19:29:41 pooka Exp $"); #include "debug_kloader.h" @@ -600,7 +600,7 @@ kloader_open(const char *filename) struct nameidata nid; int error; - NDINIT(&nid, LOOKUP, FOLLOW, UIO_SYSSPACE, filename, l); + NDINIT(&nid, LOOKUP, FOLLOW, UIO_SYSSPACE, filename); error = namei(&nid); if (error != 0) { |
