aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2001-07-02 10:18:56 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2001-07-02 10:18:56 +0000
commitd22e161a154d663f1b95738bf73fdd6a0d617d26 (patch)
treeb5483ee54584b188831c5881ab5d9a33e6c8a7d0
parentbf23a1be12b8121cc64c44d5aa8d57c63217302b (diff)
Notes
-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 404735e65c4c..1dac8b1b2868 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 404735e65c4c..1dac8b1b2868 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