Set the major number of swapdev correctly (it's 0, not 1). This

finally makes pageouts work.
This commit is contained in:
bjh21 2001-10-16 23:58:29 +00:00
parent 07b63ac97a
commit 5dcc1bbb2d
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: conf.c,v 1.6 2001/04/28 17:41:01 bjh21 Exp $ */
/* $NetBSD: conf.c,v 1.7 2001/10/16 23:58:29 bjh21 Exp $ */
/*-
* Copyright (c) 1998, 2000 Ben Harris
* All rights reserved.
@ -32,7 +32,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: conf.c,v 1.6 2001/04/28 17:41:01 bjh21 Exp $");
__RCSID("$NetBSD: conf.c,v 1.7 2001/10/16 23:58:29 bjh21 Exp $");
#include <sys/systm.h>
#include <sys/buf.h>
@ -144,7 +144,7 @@ int mem_no = 2; /* major device number of memory special file */
* confuse, e.g. the hashing routines. Instead, /dev/drum is
* provided as a character (raw) device.
*/
dev_t swapdev = makedev(1, 0);
dev_t swapdev = makedev(0, 0);
/*
* Returns true if dev is /dev/mem or /dev/kmem.