Correct for the extra member in 'struct kern_msgbuf' when calculating
the number of bytes we want to allocate.
This commit is contained in:
parent
1d47009a08
commit
2b138578d7
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: param.h,v 1.30 1997/09/19 13:55:26 leo Exp $ */
|
||||
/* $NetBSD: param.h,v 1.31 1997/09/20 12:10:09 leo Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -123,7 +123,7 @@ extern int nbpg, pgofset, pgshift;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define MSGBUFSIZE (4096 - 3 * sizeof(long))
|
||||
#define MSGBUFSIZE (4096 - 4 * sizeof(long))
|
||||
|
||||
/*
|
||||
* Size of kernel malloc arena in CLBYTES-sized logical pages.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: param.h,v 1.44 1997/09/19 13:55:35 leo Exp $ */
|
||||
/* $NetBSD: param.h,v 1.45 1997/09/20 12:10:38 leo Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1995 Gordon W. Ross
|
||||
@ -66,9 +66,9 @@
|
||||
|
||||
#define UPAGES 2 /* pages of u-area */
|
||||
|
||||
#include <m68k/param.h>
|
||||
#define MSGBUFSIZE (4096 - 4 * sizeof(long))
|
||||
|
||||
#define MSGBUFSIZE (4096 - 3 * sizeof(long))
|
||||
#include <m68k/param.h>
|
||||
|
||||
/*
|
||||
* Size of kernel malloc arena in CLBYTES-sized logical pages
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: param3.h,v 1.44 1997/09/19 13:55:35 leo Exp $ */
|
||||
/* $NetBSD: param3.h,v 1.45 1997/09/20 12:10:38 leo Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1995 Gordon W. Ross
|
||||
@ -66,9 +66,9 @@
|
||||
|
||||
#define UPAGES 2 /* pages of u-area */
|
||||
|
||||
#include <m68k/param.h>
|
||||
#define MSGBUFSIZE (4096 - 4 * sizeof(long))
|
||||
|
||||
#define MSGBUFSIZE (4096 - 3 * sizeof(long))
|
||||
#include <m68k/param.h>
|
||||
|
||||
/*
|
||||
* Size of kernel malloc arena in CLBYTES-sized logical pages
|
||||
|
Loading…
Reference in New Issue
Block a user