diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-31 13:47:21 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-31 13:47:21 +0000 |
commit | 023702efa23c78a4bfd2348111d11158679ab89b (patch) | |
tree | 976ea40e3d377fabead09c4ce3f71a65ad422dc2 /libexec/ld.so/library.c | |
parent | fc2784bf0aef545e564024d990a0ff85127ebeb1 (diff) |
random indentation fixes (needs much more work).
Diffstat (limited to 'libexec/ld.so/library.c')
-rw-r--r-- | libexec/ld.so/library.c | 7 |
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); } |