summaryrefslogtreecommitdiff
path: root/libexec/ld.so/library.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-31 13:47:21 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-31 13:47:21 +0000
commit023702efa23c78a4bfd2348111d11158679ab89b (patch)
tree976ea40e3d377fabead09c4ce3f71a65ad422dc2 /libexec/ld.so/library.c
parentfc2784bf0aef545e564024d990a0ff85127ebeb1 (diff)
random indentation fixes (needs much more work).
Diffstat (limited to 'libexec/ld.so/library.c')
-rw-r--r--libexec/ld.so/library.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libexec/ld.so/library.c b/libexec/ld.so/library.c
index e6b0d326b09..72f8f7aa690 100644
--- a/libexec/ld.so/library.c
+++ b/libexec/ld.so/library.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: library.c,v 1.6 2001/05/11 16:19:37 art Exp $ */
+/* $OpenBSD: library.c,v 1.7 2001/05/31 13:47:20 art Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -293,7 +293,7 @@ _dl_tryload_shlib(const char *libname, int type)
_dl_load_list_free(load_list);
return(0);
}
- if(phdp->p_flags & PF_W) {
+ if (phdp->p_flags & PF_W) {
if(size & align) {
_dl_memset(start + size, 0,
_dl_pagesz - (size & align));
@@ -324,8 +324,7 @@ _dl_tryload_shlib(const char *libname, int type)
if(object) {
object->load_size = maxva - minva; /*XXX*/
object->load_list = load_list;
- }
- else {
+ } else {
_dl_munmap((void *)libaddr, maxva - minva);
_dl_load_list_free(load_list);
}