projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5959cba
)
(__nscd_unmap, get_mapping): Use __munmap instead of munmap.
author
drepper
<drepper>
Thu, 16 Sep 2004 22:46:12 +0000
(22:46 +0000)
committer
drepper
<drepper>
Thu, 16 Sep 2004 22:46:12 +0000
(22:46 +0000)
nscd/nscd_helper.c
patch
|
blob
|
history
diff --git
a/nscd/nscd_helper.c
b/nscd/nscd_helper.c
index
e40500c
..
ae8dd6c
100644
(file)
--- a/
nscd/nscd_helper.c
+++ b/
nscd/nscd_helper.c
@@
-72,7
+72,7
@@
void
__nscd_unmap (struct mapped_database *mapped)
{
assert (mapped->counter == 0);
- munmap ((void *) mapped->head, mapped->mapsize);
+
__
munmap ((void *) mapped->head, mapped->mapsize);
free (mapped);
}
@@
-180,7
+180,7
@@
get_mapping (request_type type, const char *key,
if (newp == NULL)
{
/* Ugh, after all we went through the memory allocation failed. */
- munmap (result, size);
+
__
munmap (result, size);
goto out_close;
}