Ramdisk device now defaults to a size of zero if RAMDISK_SIZE is

undefined.
This commit is contained in:
mark 1996-02-02 20:23:00 +00:00
parent 6a334da2bd
commit b32ae66ae6
2 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: md_hooks.c,v 1.1 1996/01/31 23:19:31 mark Exp $ */
/* $NetBSD: md_hooks.c,v 1.2 1996/02/02 20:23:00 mark Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@ -36,6 +36,10 @@
#include <dev/ramdisk.h>
#ifndef RAMDISK_SIZE
#define RAMDISK_SIZE 0
#endif
/*extern int boothowto;*/
extern u_int ramdisc_size;
struct rd_conf *bootrd = NULL;

View File

@ -1,4 +1,4 @@
/* $NetBSD: rd_hooks.c,v 1.1 1996/01/31 23:19:31 mark Exp $ */
/* $NetBSD: rd_hooks.c,v 1.2 1996/02/02 20:23:00 mark Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@ -36,6 +36,10 @@
#include <dev/ramdisk.h>
#ifndef RAMDISK_SIZE
#define RAMDISK_SIZE 0
#endif
/*extern int boothowto;*/
extern u_int ramdisc_size;
struct rd_conf *bootrd = NULL;