Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Nov 2002 21:41:45 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/ppbus pcfclock.c
Message-ID:  <XFMail.20021107214145.jhb@FreeBSD.org>
In-Reply-To: <1111.1036694567@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

On 07-Nov-2002 Poul-Henning Kamp wrote:
> 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.

Ah, ok.  Duh.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.20021107214145.jhb>