3rd argument to msync() is now needed by NetBSD as well.
This commit is contained in:
parent
ad4916f857
commit
b592c266f8
@ -24,12 +24,12 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $NetBSD: dbsym.c,v 1.12 1997/10/18 08:13:06 lukem Exp $
|
||||
* $NetBSD: dbsym.c,v 1.13 1997/10/25 10:49:36 fvdl Exp $
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: dbsym.c,v 1.12 1997/10/18 08:13:06 lukem Exp $");
|
||||
__RCSID("$NetBSD: dbsym.c,v 1.13 1997/10/25 10:49:36 fvdl Exp $");
|
||||
#endif
|
||||
|
||||
/* Copy the symbol table into the space reserved for it. */
|
||||
@ -166,11 +166,7 @@ main(argc,argv)
|
||||
*ip++ = head.a_syms;
|
||||
memcpy((char*)ip, symbols, head.a_syms + strtab_len);
|
||||
|
||||
msync(dataseg - data_pgoff, file_len - data_off
|
||||
#ifdef sun
|
||||
,0
|
||||
#endif
|
||||
);
|
||||
msync(dataseg - data_pgoff, file_len - data_off, 0);
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("...done\n");
|
||||
|
Loading…
Reference in New Issue
Block a user