diff options
author | peter <peter@FreeBSD.org> | 1999-07-03 17:40:31 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-07-03 17:40:31 +0000 |
commit | 05cb15a7d403da81c20acf45f7de07b62275f531 (patch) | |
tree | 6e269edfa31f49bc9d0c5355a99a6fae9c47384a /sys/i386 | |
parent | 6bf98e72931c3ba7c4f7b4e96458680c25ee088a (diff) | |
download | FreeBSD-src-05cb15a7d403da81c20acf45f7de07b62275f531.zip FreeBSD-src-05cb15a7d403da81c20acf45f7de07b62275f531.tar.gz |
Fix warnings in last commit (dev_t is not an int, and not even int
compatable in arg lists on the Alpha)
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/autoconf.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c index 05507a8..66a26ac 100644 --- a/sys/i386/i386/autoconf.c +++ b/sys/i386/i386/autoconf.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91 - * $Id: autoconf.c,v 1.125 1999/06/01 18:56:10 phk Exp $ + * $Id: autoconf.c,v 1.126 1999/07/03 08:23:50 phk Exp $ */ /* @@ -439,7 +439,8 @@ setroot() majdev = B_TYPE(bootdev); dev = makebdev(majdev, 0); if (bdevsw(dev) == NULL) { - printf("No bdevsw (majdev=%d bootdev=%08x)\n", majdev, bootdev); + printf("No bdevsw (majdev=%d bootdev=%p)\n", majdev, + (void *)bootdev); setconf(); return; } @@ -556,8 +557,8 @@ gotit: return (1); } rootdev = makebdev(bd, dkmakeminor(unit, slice, part)); - printf("driver=%s, unit=%d, slice=%d, part=%d -> rootdev=%08x\n", - name, unit, slice, part, rootdev); + printf("driver=%s, unit=%d, slice=%d, part=%d -> rootdev=%p\n", + name, unit, slice, part, (void *)rootdev); return 0; } |