Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ldd/ldd_elf Unmap from mapbase, not relocbase.
details: https://anonhg.NetBSD.org/src/rev/1eeb5cbb20ea
branches: trunk
changeset: 495365:1eeb5cbb20ea
user: mycroft <mycroft%NetBSD.org@localhost>
date: Wed Jul 26 19:39:07 2000 +0000
description:
Unmap from mapbase, not relocbase.
diffstat:
usr.bin/ldd/ldd_elf/ldd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 317279eee93c -r 1eeb5cbb20ea usr.bin/ldd/ldd_elf/ldd.c
--- a/usr.bin/ldd/ldd_elf/ldd.c Wed Jul 26 17:46:56 2000 +0000
+++ b/usr.bin/ldd/ldd_elf/ldd.c Wed Jul 26 19:39:07 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ldd.c,v 1.8 1999/12/13 09:10:16 christos Exp $ */
+/* $NetBSD: ldd.c,v 1.9 2000/07/26 19:39:07 mycroft Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -125,7 +125,7 @@
obj->needed = needed->next;
free((void *) needed);
}
- (void) munmap(obj->relocbase, obj->mapsize);
+ (void) munmap(obj->mapbase, obj->mapsize);
free(obj->path);
free(obj);
}
Home |
Main Index |
Thread Index |
Old Index