docs/97521: inconsistency in tsleep(9) manpage

thierry herbelot thierry at herbelot.com
Sat May 20 12:40:12 UTC 2006


>Number:         97521
>Category:       docs
>Synopsis:       inconsistency in tsleep(9) manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 20 12:40:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     thierry herbelot
>Release:        FreeBSD 6.1-STABLE
>Organization:
>Environment:
FreeBSD XXX 6.1-STABLE FreeBSD 6.1-STABLE #166: Sat May 20 04:41:48 CEST 2006     YYY at XXX:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
in the tsleep man page :

     The parameter wmesg is a string describing the sleep condition for tools
     like ps(1).  Due to the limited space of those programs to display arbi-
     trary strings, this message should not be longer than 6 characters.

but in one driver (ufm) there is a call :

     tsleep(sc, 0, "ufmwait", hz/4);

either the man page or the driver code is wrong

there is also :
                error = tsleep(&sc->sc_q, PZERO | PCATCH, "uhidrea", 0);
in /usr/src/sys/dev/usb/uhid.c

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list