aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-11-08 06:34:04 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-11-08 06:34:04 +0000
commit4b69fb52f470917c8f6eeac04ba55593043d47f8 (patch)
treee8491d0b30495e5f6968c0c1de1c61b6e13d094b
parent6febd9aaf597f9e99b6f6461859866c486c37b3c (diff)
downloadsrc-4b69fb52f470917c8f6eeac04ba55593043d47f8.tar.gz
src-4b69fb52f470917c8f6eeac04ba55593043d47f8.zip
Change "fdx: Floppy not writeable" to less confusing
"fdx: write protected". Not writeable maybe means bad, etc.
Notes
Notes: svn path=/head/; revision=4261
-rw-r--r--sys/dev/fdc/fdc.c4
-rw-r--r--sys/i386/isa/fd.c4
-rw-r--r--sys/isa/fd.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index f5abb9b8c6d9..b22f64182770 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -40,7 +40,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.40 1994/11/02 09:08:40 jkh Exp $
+ * $Id: fd.c,v 1.41 1994/11/08 05:42:10 jkh Exp $
*
*/
@@ -776,7 +776,7 @@ Fdopen(dev, flags)
out_fdc(fdc->fdcu, fdu);
st3 = in_fdc(fdc->fdcu);
if(st3 & NE7_ST3_WP) {
- printf("fd%d: Floppy not writable\n", fdu);
+ printf("fd%d: write protected\n", fdu);
set_motor(fdc->fdcu, fd_data[fdu].fdsu, TURNOFF);
return(EPERM);
}
diff --git a/sys/i386/isa/fd.c b/sys/i386/isa/fd.c
index f5abb9b8c6d9..b22f64182770 100644
--- a/sys/i386/isa/fd.c
+++ b/sys/i386/isa/fd.c
@@ -40,7 +40,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.40 1994/11/02 09:08:40 jkh Exp $
+ * $Id: fd.c,v 1.41 1994/11/08 05:42:10 jkh Exp $
*
*/
@@ -776,7 +776,7 @@ Fdopen(dev, flags)
out_fdc(fdc->fdcu, fdu);
st3 = in_fdc(fdc->fdcu);
if(st3 & NE7_ST3_WP) {
- printf("fd%d: Floppy not writable\n", fdu);
+ printf("fd%d: write protected\n", fdu);
set_motor(fdc->fdcu, fd_data[fdu].fdsu, TURNOFF);
return(EPERM);
}
diff --git a/sys/isa/fd.c b/sys/isa/fd.c
index f5abb9b8c6d9..b22f64182770 100644
--- a/sys/isa/fd.c
+++ b/sys/isa/fd.c
@@ -40,7 +40,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.40 1994/11/02 09:08:40 jkh Exp $
+ * $Id: fd.c,v 1.41 1994/11/08 05:42:10 jkh Exp $
*
*/
@@ -776,7 +776,7 @@ Fdopen(dev, flags)
out_fdc(fdc->fdcu, fdu);
st3 = in_fdc(fdc->fdcu);
if(st3 & NE7_ST3_WP) {
- printf("fd%d: Floppy not writable\n", fdu);
+ printf("fd%d: write protected\n", fdu);
set_motor(fdc->fdcu, fd_data[fdu].fdsu, TURNOFF);
return(EPERM);
}