Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Nov 2002 19:42:47 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/ppbus pcfclock.c 
Message-ID:  <1111.1036694567@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 07 Nov 2002 09:26:38 PST." <200211071726.gA7HQcPb030790@repoman.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200211071726.gA7HQcPb030790@repoman.freebsd.org>, John Baldwin writ
es:
>jhb         2002/11/07 09:26:38 PST
>
>  Modified files:
>    sys/dev/ppbus        pcfclock.c 
>  Log:
>  d_read_t functions return an int, not a ssize_t.  (Considering the fact
>  that read(2) returns a ssize_t perhaps this is a bug in d_read_t?)

Not really.  The size_t returned by read actually comes from inside the
uio structure unless it returns an error.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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