diff options
author | dt <dt@FreeBSD.org> | 1999-04-24 18:50:48 +0000 |
---|---|---|
committer | dt <dt@FreeBSD.org> | 1999-04-24 18:50:48 +0000 |
commit | 3843abdc03deacf817f6459a1690b2911648a571 (patch) | |
tree | a3ed14c8eabe0ea2a5f458d0acc6ea9d1eb937d9 | |
parent | 19af893d7eeec45d99bc87bc9c2cc0225a65b8b8 (diff) | |
download | FreeBSD-src-3843abdc03deacf817f6459a1690b2911648a571.zip FreeBSD-src-3843abdc03deacf817f6459a1690b2911648a571.tar.gz |
Fixed printf format errors on alpha.
-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 82dd788..8d9377e 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"); |