summaryrefslogtreecommitdiff
path: root/sys/boot/common/load_elf.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-10-14 00:41:17 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-10-14 00:41:17 +0000
commitadf45b4bb5ed0bfe5ced1b68159e7f6c93204045 (patch)
treedf783272712453e580ac741be50a5dfcb34df296 /sys/boot/common/load_elf.c
parent59ea046e5dac62520b97c7f03ffcf247ee4838d2 (diff)
Notes
Diffstat (limited to 'sys/boot/common/load_elf.c')
-rw-r--r--sys/boot/common/load_elf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/boot/common/load_elf.c b/sys/boot/common/load_elf.c
index 1170d975ed2a..e2a3d4ebed83 100644
--- a/sys/boot/common/load_elf.c
+++ b/sys/boot/common/load_elf.c
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: load_elf.c,v 1.4 1998/10/12 09:13:50 peter Exp $
+ * $Id: load_elf.c,v 1.5 1998/10/13 09:25:27 peter Exp $
*/
#include <sys/param.h>
@@ -155,10 +155,11 @@ elf_loadmodule(char *filename, vm_offset_t dest, struct loaded_module **result)
mp->m_name = strdup(filename);
mp->m_type = strdup(kernel ? elf_kerneltype : elf_moduletype);
-
#ifdef ELF_VERBOSE
if (kernel)
printf("%s entry at %p\n", filename, (void *) dest);
+#else
+ printf("%s ", filename);
#endif
mp->m_size = elf_loadimage(mp, fd, dest, &ehdr, kernel);