add a missing \n in the printf in rd_attach_hook. added an XXX
comment to note that this printf still isn't quite right (possibly because this is now a pseudodevice), and the autoconf printout when mounting root on a ramdisk isn't right, either. This should both be fixed.
This commit is contained in:
parent
233251d896
commit
ac4e0ab44e
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: md_root.c,v 1.5 1996/10/21 01:49:22 perry Exp $ */
|
||||
/* $NetBSD: md_root.c,v 1.6 1996/10/22 10:19:10 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Gordon W. Ross
|
||||
@ -61,7 +61,8 @@ rd_attach_hook(unit, rd)
|
||||
rd->rd_addr = (caddr_t) rd_root_image;
|
||||
rd->rd_size = (size_t) rd_root_size;
|
||||
rd->rd_type = RD_KMEM_FIXED;
|
||||
printf(" fixed, %d blocks", MINIROOTSIZE);
|
||||
/* XXX the printout isn't quite right at boottime. */
|
||||
printf(" fixed, %d blocks\n", MINIROOTSIZE);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rd_root.c,v 1.5 1996/10/21 01:49:22 perry Exp $ */
|
||||
/* $NetBSD: rd_root.c,v 1.6 1996/10/22 10:19:10 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Gordon W. Ross
|
||||
@ -61,7 +61,8 @@ rd_attach_hook(unit, rd)
|
||||
rd->rd_addr = (caddr_t) rd_root_image;
|
||||
rd->rd_size = (size_t) rd_root_size;
|
||||
rd->rd_type = RD_KMEM_FIXED;
|
||||
printf(" fixed, %d blocks", MINIROOTSIZE);
|
||||
/* XXX the printout isn't quite right at boottime. */
|
||||
printf(" fixed, %d blocks\n", MINIROOTSIZE);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user