1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

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.
This commit is contained in:
Peter Wemm 1998-10-14 00:41:17 +00:00
parent 59ea046e5d
commit adf45b4bb5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40327
2 changed files with 6 additions and 5 deletions

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: boot.c,v 1.5 1998/10/07 02:38:26 msmith Exp $
* $Id: boot.c,v 1.6 1998/10/11 10:10:41 peter Exp $
*/
/*
@ -200,8 +200,6 @@ autoboot(int delay, char *prompt)
ntime = time(NULL);
if (ntime >= when) {
yes = 1;
if (cr)
putchar('\n');
break;
}
if (ntime != otime) {
@ -210,6 +208,8 @@ autoboot(int delay, char *prompt)
cr = 1;
}
}
if (cr)
putchar('\n');
if (yes) {
argv[0] = "boot";
argv[1] = NULL;

View File

@ -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);