diff options
author | Dmitrij Tejblum <dt@FreeBSD.org> | 1999-04-24 18:50:48 +0000 |
---|---|---|
committer | Dmitrij Tejblum <dt@FreeBSD.org> | 1999-04-24 18:50:48 +0000 |
commit | ba41a07d049720c60b364b89849daab0ce2a5db9 (patch) | |
tree | db1d9513e442ad28ae57a1cf37f97c3abf2e5330 /sys/kern | |
parent | 00c7dcf63e85bf6bf756e3837ac27f2ab5d0c8b8 (diff) | |
download | src-ba41a07d049720c60b364b89849daab0ce2a5db9.tar.gz src-ba41a07d049720c60b364b89849daab0ce2a5db9.zip |
Fixed printf format errors on alpha.
Notes
Notes:
svn path=/head/; revision=46019
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 82dd7880797b..8d9377e6b0fe 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * @(#)init_main.c 8.9 (Berkeley) 1/21/94 - * $Id: init_main.c,v 1.111 1999/02/28 10:53:29 bde Exp $ + * $Id: init_main.c,v 1.112 1999/04/20 21:15:13 des Exp $ */ #include "opt_devfs.h" @@ -634,7 +634,8 @@ start_init(p) for (next = path; *next != '\0' && *next != ';'; next++) /* nothing */ ; if (bootverbose) - printf("start_init: trying %.*s\n", next-path, path); + printf("start_init: trying %.*s\n", (int)(next - path), + path); /* * Move out the boot flag argument. @@ -695,7 +696,8 @@ start_init(p) if ((error = execve(p, &args)) == 0) return; if (error != ENOENT) - printf("exec %.*s: error %d\n", next-path, path, error); + printf("exec %.*s: error %d\n", (int)(next - path), + path, error); } printf("init: not found\n"); panic("no init"); |