artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fa36ec
)
delete unused variable
author
deraadt
<deraadt@openbsd.org>
Tue, 20 Jul 2010 02:08:15 +0000
(
02:08
+0000)
committer
deraadt
<deraadt@openbsd.org>
Tue, 20 Jul 2010 02:08:15 +0000
(
02:08
+0000)
usr.sbin/crunchgen/elf_hide.c
patch
|
blob
|
history
diff --git
a/usr.sbin/crunchgen/elf_hide.c
b/usr.sbin/crunchgen/elf_hide.c
index
472ef32
..
75dddb8
100644
(file)
--- a/
usr.sbin/crunchgen/elf_hide.c
+++ b/
usr.sbin/crunchgen/elf_hide.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: elf_hide.c,v 1.
5 2009/12/04 04:59:48 drahn
Exp $ */
+/* $OpenBSD: elf_hide.c,v 1.
6 2010/07/20 02:08:15 deraadt
Exp $ */
/*
* Copyright (c) 1997 Dale Rahn.
@@
-74,7
+74,6
@@
elf_hide(int pfile, char *p)
Elf_Phdr *pphdr;
int i;
#endif
- struct stat sb;
pexe = p;
pehdr = (Elf_Ehdr *) pexe;
@@
-147,8
+146,6
@@
elf_hide(int pfile, char *p)
load_strtab(pehdr, pexe);
load_symtab(pehdr, pexe);
-
- munmap(pexe, sb.st_size);
close(pfile);
}
char *shstrtab;