diff --git a/sys/i386/isa/pcaudio.c b/sys/i386/isa/pcaudio.c index 90fb125e15c2..9ef27589daa2 100644 --- a/sys/i386/isa/pcaudio.c +++ b/sys/i386/isa/pcaudio.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcaudio.c,v 1.18 1995/11/28 09:41:27 julian Exp $ + * $Id: pcaudio.c,v 1.19 1995/11/29 10:47:47 julian Exp $ */ #include "pca.h" @@ -49,14 +49,14 @@ #include +#ifdef DEVFS +#include +#endif /* DEVFS */ #ifdef JREMOD #include #include -#ifdef DEVFS -#include -#endif /*DEVFS*/ #define CDEV_MAJOR 24 -#endif /*JREMOD*/ +#endif /* JREMOD */ #define BUF_SIZE 8192 #define SAMPLE_RATE 8000 diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c index fabff12d3378..49e8b9f0f4d9 100644 --- a/sys/kern/kern_conf.c +++ b/sys/kern/kern_conf.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_conf.c,v 1.3 1995/10/04 08:58:00 julian Exp $ + * $Id: kern_conf.c,v 1.4 1995/11/29 12:38:46 julian Exp $ */ #include @@ -60,7 +60,7 @@ int TTYPE##_add(dev_t *descrip, \ return ENFILE; \ } \ } else { /* assign */ \ - i = major(descrip); \ + i = major(*descrip); \ if (i < 0 || i >= NXXXDEV) { \ return EINVAL; \ } \