summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2001-07-02 10:18:56 +0000
committernyan <nyan@FreeBSD.org>2001-07-02 10:18:56 +0000
commit1bb64dfc819e10b815ba12be90a0be5652ba2b29 (patch)
treeb5483ee54584b188831c5881ab5d9a33e6c8a7d0 /sys/pc98
parentd39a1d4fd81a8991e590eb603f8194976ce4c70c (diff)
downloadFreeBSD-src-1bb64dfc819e10b815ba12be90a0be5652ba2b29.zip
FreeBSD-src-1bb64dfc819e10b815ba12be90a0be5652ba2b29.tar.gz
Fixed warning message.
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/fdc.c5
-rw-r--r--sys/pc98/pc98/fd.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c
index 404735e..1dac8b1 100644
--- a/sys/pc98/cbus/fdc.c
+++ b/sys/pc98/cbus/fdc.c
@@ -1378,9 +1378,8 @@ fd_probe(device_t dev)
break;
}
- printf("Warning: can't control 3mode I/F, "
- "fallback to 2mode.\n"
- "fd%d: ", fd->fdu);
+ device_printf(dev,
+ "Warning: can't control 3mode I/F, fallback to 2mode.\n");
/* FALLTHROUGH */
case FDT_12M:
#ifdef EPSON_NRDISK
diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c
index 404735e..1dac8b1 100644
--- a/sys/pc98/pc98/fd.c
+++ b/sys/pc98/pc98/fd.c
@@ -1378,9 +1378,8 @@ fd_probe(device_t dev)
break;
}
- printf("Warning: can't control 3mode I/F, "
- "fallback to 2mode.\n"
- "fd%d: ", fd->fdu);
+ device_printf(dev,
+ "Warning: can't control 3mode I/F, fallback to 2mode.\n");
/* FALLTHROUGH */
case FDT_12M:
#ifdef EPSON_NRDISK
OpenPOWER on IntegriCloud