From d9e0ca7f07ce8d16f92597abdcdca100d6b01162 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Fri, 2 Jun 2006 05:09:36 +0000 Subject: Fix comment to reflect updated st(4) verbiage. --- sbin/dump/tape.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'sbin/dump') diff --git a/sbin/dump/tape.c b/sbin/dump/tape.c index 0e4336b0a73..503088766b2 100644 --- a/sbin/dump/tape.c +++ b/sbin/dump/tape.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tape.c,v 1.26 2006/05/30 20:09:53 krw Exp $ */ +/* $OpenBSD: tape.c,v 1.27 2006/06/02 05:09:35 krw Exp $ */ /* $NetBSD: tape.c,v 1.11 1997/06/05 11:13:26 lukem Exp $ */ /*- @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)tape.c 8.2 (Berkeley) 3/17/94"; #else -static const char rcsid[] = "$OpenBSD: tape.c,v 1.26 2006/05/30 20:09:53 krw Exp $"; +static const char rcsid[] = "$OpenBSD: tape.c,v 1.27 2006/06/02 05:09:35 krw Exp $"; #endif #endif /* not lint */ @@ -408,10 +408,9 @@ trewind(void) } #endif /* - * st(4) says: "... bits 0 and 1 of the minor number are interpreted as - * `sub-modes'. The sub-modes differ in the action taken when the - * device is closed ...". In short, if bit 1 is set the tape will be - * ejected on close. + * st(4) says: "Bit 1 of the minor number specifies whether an eject is + * attempted when the device is closed. When it is set, the device + * will attempt to eject its media on close ...". * * If the tape has been ejected, looping on open() will generate 'Media * not present' errors until a tape is loaded. Once loaded the tape -- cgit v1.2.3