summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-07-03 21:03:56 +0000
committerpeter <peter@FreeBSD.org>1999-07-03 21:03:56 +0000
commit28a5174c43ea7e285367bd73f57e1a75ff3ccc65 (patch)
treeab116e9f78149c127efc68728141178240531eef /sys/amd64
parent0c747eafde507a3c359125fdfff805ee0b420432 (diff)
downloadFreeBSD-src-28a5174c43ea7e285367bd73f57e1a75ff3ccc65.zip
FreeBSD-src-28a5174c43ea7e285367bd73f57e1a75ff3ccc65.tar.gz
printf int/dev_t (pointer) warning
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/autoconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c
index 66a26ac..b3dd4f5 100644
--- a/sys/amd64/amd64/autoconf.c
+++ b/sys/amd64/amd64/autoconf.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
- * $Id: autoconf.c,v 1.126 1999/07/03 08:23:50 phk Exp $
+ * $Id: autoconf.c,v 1.127 1999/07/03 17:40:29 peter Exp $
*/
/*
@@ -163,8 +163,8 @@ find_cdrom_root()
if (bd == NULL || bd->d_open == NULL)
continue;
if (bootverbose)
- printf("trying %s%d as rootdev (0x%x)\n",
- try_cdrom[j].name, i, rootdev);
+ printf("trying %s%d as rootdev (%p)\n",
+ try_cdrom[j].name, i, (void *)rootdev);
error = (bd->d_open)(rootdev, FREAD, S_IFBLK, curproc);
if (error == 0) {
if (bd->d_close != NULL)
OpenPOWER on IntegriCloud