Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/compat/linux/common Pull up revision 1.53 (requeste...



details:   https://anonhg.NetBSD.org/src/rev/f1ba5a256f55
branches:  netbsd-1-5
changeset: 490994:f1ba5a256f55
user:      he <he%NetBSD.org@localhost>
date:      Fri Mar 30 21:41:59 2001 +0000

description:
Pull up revision 1.53 (requested by fvdl):
  Add some required Linux emulation bits to support the Linux
  version of VMware.

diffstat:

 sys/compat/linux/common/linux_oldmmap.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 97ee57c04d7c -r f1ba5a256f55 sys/compat/linux/common/linux_oldmmap.c
--- a/sys/compat/linux/common/linux_oldmmap.c   Fri Mar 30 21:41:32 2001 +0000
+++ b/sys/compat/linux/common/linux_oldmmap.c   Fri Mar 30 21:41:59 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_oldmmap.c,v 1.50 1998/10/07 23:06:17 erh Exp $   */
+/*     $NetBSD: linux_oldmmap.c,v 1.50.22.1 2001/03/30 21:41:59 he Exp $       */
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -81,7 +81,7 @@
        SCARG(&nlmap,prot) = lmap.lm_prot;
        SCARG(&nlmap,flags) = lmap.lm_flags;
        SCARG(&nlmap,fd) = lmap.lm_fd;
-       SCARG(&nlmap,offset) = lmap.lm_pos;
+       SCARG(&nlmap,offset) = (unsigned)lmap.lm_pos;
 
        return linux_sys_mmap(p, &nlmap, retval);
 }



Home | Main Index | Thread Index | Old Index