summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/load_elf.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-10-14 00:41:17 +0000
committerpeter <peter@FreeBSD.org>1998-10-14 00:41:17 +0000
commitb059e72205b0bc884e0ae5f4ffdf095d461891c9 (patch)
tree9be684a139565f9868f396eb7348cb53091a02f4 /sys/boot/common/load_elf.c
parente4f3dfea8d6008af45c71caf6d44d7ff4f99d888 (diff)
downloadFreeBSD-src-b059e72205b0bc884e0ae5f4ffdf095d461891c9.zip
FreeBSD-src-b059e72205b0bc884e0ae5f4ffdf095d461891c9.tar.gz
Tweak the output one more time again. The kernel or module pathname
is useful, and usually fits all on one line with the load sizes.
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 1170d97..e2a3d4e 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);
OpenPOWER on IntegriCloud