Subject: kern/2307: Typo in disk(9) manpage
To: None <gnats-bugs@NetBSD.ORG>
From: Dave Leonard <d@dstc.edu.au>
List: netbsd-bugs
Date: 04/07/1996 17:08:23
>Number:         2307
>Category:       kern
>Synopsis:       Typo in disk(9) manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr  7 03:35:01 1996
>Last-Modified:
>Originator:     The devil himself
>Organization:
David Leonard                            BE(Comp)/BCompSc 6th year student
The University of Queensland             s160828@student.uq.edu.au
>Release:        5 Apr 1996 (-current sup)
>Environment:
	
System: NetBSD occult.fnarg.net.au 1.1A NetBSD 1.1A (OCCULT) #61: Wed Mar 6 19:11:53 EST 1996 d@occult.fnarg.net.au:/u1/src/sys/arch/mac68k/compile/OCCULT mac68k


>Description:
The manual page for disk(9) contains a suspected typo in the sample disk
device driver code:
	void
	foostart(sc)
	{
		...
		/* Tell the disk framework we're is going busy. */
		...
	}
>How-To-Repeat:
	man 9 disk
>Fix:
*** disk.9.orig Sun Apr  7 17:01:10 1996
--- /usr/src/share/man/man9/disk.9      Sun Apr  7 17:01:33 1996
***************
*** 248,254 ****
        /* Build command to send to drive. */
        [ . . . ]
  
!       /* Tell the disk framework we're is going busy. */
        disk_busy(&sc->sc_dk);
  
        /* Send command to the drive. */
--- 248,254 ----
        /* Build command to send to drive. */
        [ . . . ]
  
!       /* Tell the disk framework we're going busy. */
        disk_busy(&sc->sc_dk);
  
        /* Send command to the drive. */

>Audit-Trail:
>Unformatted: