projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changes from Paul Kranenburg which bring us into sync with his sources:
[unix-history]
/
gnu
/
usr.bin
/
ld
/
rtld
/
malloc.c
diff --git
a/gnu/usr.bin/ld/rtld/malloc.c
b/gnu/usr.bin/ld/rtld/malloc.c
index
04f6b9f
..
b5c54f8
100644
(file)
--- a/
gnu/usr.bin/ld/rtld/malloc.c
+++ b/
gnu/usr.bin/ld/rtld/malloc.c
@@
-33,7
+33,7
@@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)malloc.c 5.11 (Berkeley) 2/23/91";*/
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)malloc.c 5.11 (Berkeley) 2/23/91";*/
-static char *rcsid = "$Id: malloc.c,v 1.1 1994/0
1/28 21:01:22 pk
Exp $";
+static char *rcsid = "$Id: malloc.c,v 1.1 1994/0
2/13 20:44:09 jkh
Exp $";
#endif /* LIBC_SCCS and not lint */
/*
#endif /* LIBC_SCCS and not lint */
/*
@@
-48,6
+48,7
@@
static char *rcsid = "$Id: malloc.c,v 1.1 1994/01/28 21:01:22 pk Exp $";
*/
#include <sys/types.h>
*/
#include <sys/types.h>
+#include <err.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@
-460,7
+461,7
@@
int n;
caddr_t addr = (caddr_t)
(((int)pagepool_start + pagesz - 1) & ~(pagesz - 1));
if (munmap(addr, pagepool_end - addr) != 0)
caddr_t addr = (caddr_t)
(((int)pagepool_start + pagesz - 1) & ~(pagesz - 1));
if (munmap(addr, pagepool_end - addr) != 0)
-
perror("munmap"
);
+
warn("morepages: munmap %p", addr
);
}
offset = (int)pagepool_start - ((int)pagepool_start & ~(pagesz - 1));
}
offset = (int)pagepool_start - ((int)pagepool_start & ~(pagesz - 1));