Use a real malloc type for M_LINKER instead of #defining it as M_TEMP.

Fixed a comment.
This commit is contained in:
Bruce Evans 1998-01-01 08:56:24 +00:00
parent 452ed6dc49
commit b1679c0f7e

View file

@ -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 */