Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2006 12:38:59 GMT
From:      thierry herbelot <thierry@herbelot.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/97521: inconsistency in tsleep(9) manpage
Message-ID:  <200605201238.k4KCcx7i021852@www.freebsd.org>
Resent-Message-ID: <200605201240.k4KCeBmJ063081@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605201238.k4KCcx7i021852>