aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-01-01 08:56:24 +0000
committerBruce Evans <bde@FreeBSD.org>1998-01-01 08:56:24 +0000
commitb1679c0f7ef3e2fb7bf3e294a1dca3dfda8d7b70 (patch)
treea8cc6ce3d36a6b8df4840c1316eadb5b3b5b4931
parent452ed6dc49be243e713200d6a40acccf400b2c7f (diff)
downloadsrc-b1679c0f7ef3e2fb7bf3e294a1dca3dfda8d7b70.tar.gz
src-b1679c0f7ef3e2fb7bf3e294a1dca3dfda8d7b70.zip
Use a real malloc type for M_LINKER instead of #defining it as M_TEMP.
Fixed a comment.
Notes
Notes: svn path=/head/; revision=32153
-rw-r--r--sys/kern/kern_linker.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c
index da4b19828635..807b6f50e6ce 100644
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: kern_linker.c,v 1.4 1997/11/20 20:07:45 bde Exp $
+ * $Id: kern_linker.c,v 1.5 1997/12/12 04:00:59 dyson Exp $
*/
#include <sys/param.h>
@@ -39,6 +39,7 @@
#include <sys/linker.h>
#include <sys/unistd.h>
+MALLOC_DEFINE(M_LINKER, "kld", "kernel linker");
linker_file_t linker_current_file;
static struct lock lock; /* lock for the file list */