new naming convention
[unix-history] / usr / src / sys / kern / subr_rmap.c
index dd23198..2aeb82c 100644 (file)
@@ -1,15 +1,14 @@
 /*
 /*
- * Copyright (c) 1982 Regents of the University of California.
+ * Copyright (c) 1982, 1986 Regents of the University of California.
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)subr_rmap.c 6.4 (Berkeley) %G%
+ *     @(#)subr_rmap.c 7.3 (Berkeley) %G%
  */
 
 #include "param.h"
 #include "systm.h"
 #include "map.h"
  */
 
 #include "param.h"
 #include "systm.h"
 #include "map.h"
-#include "dir.h"
 #include "user.h"
 #include "proc.h"
 #include "text.h"
 #include "user.h"
 #include "proc.h"
 #include "text.h"
@@ -72,6 +71,8 @@ rminit(mp, size, addr, name, mapsize)
         */
        ep->m_size = size;
        ep->m_addr = addr;
         */
        ep->m_size = size;
        ep->m_addr = addr;
+       (++ep)->m_size = 0;
+       ep->m_addr = 0;
 }
 
 /*
 }
 
 /*