summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_conf.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-07-03 17:40:31 +0000
committerpeter <peter@FreeBSD.org>1999-07-03 17:40:31 +0000
commit05cb15a7d403da81c20acf45f7de07b62275f531 (patch)
tree6e269edfa31f49bc9d0c5355a99a6fae9c47384a /sys/kern/vfs_conf.c
parent6bf98e72931c3ba7c4f7b4e96458680c25ee088a (diff)
downloadFreeBSD-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/kern/vfs_conf.c')
-rw-r--r--sys/kern/vfs_conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c
index 27d53ba..c2c53f7 100644
--- a/sys/kern/vfs_conf.c
+++ b/sys/kern/vfs_conf.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_conf.c 8.8 (Berkeley) 3/31/94
- * $Id: vfs_conf.c,v 1.29 1999/06/26 14:44:24 peter Exp $
+ * $Id: vfs_conf.c,v 1.30 1999/07/03 08:24:00 phk Exp $
*/
/*
@@ -129,7 +129,7 @@ vfs_mountrootfs(void *unused)
* New root mount structure
*/
if ((err = vfs_rootmountalloc(mountrootfsname, ROOTNAME, &mp))) {
- printf("rootdev=%08x error=%d, ", rootdev, err);
+ printf("rootdev=%p error=%d, ", (void *)rootdev, err);
panic("cannot mount root\n");
return ;
}
@@ -170,7 +170,7 @@ vfs_mountrootfs(void *unused)
* (hardly worthwhile with the PANIC eh?)
*/
free( mp, M_MOUNT);
- printf("rootdev=%08x error=%d, ", rootdev, err);
+ printf("rootdev=%p error=%d, ", (void *)rootdev, err);
panic("cannot mount root (2)\n");
return;
}
OpenPOWER on IntegriCloud