From owner-cvs-all Thu Nov 7 10:42:53 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDB2337B401; Thu, 7 Nov 2002 10:42:52 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71AED43E88; Thu, 7 Nov 2002 10:42:51 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gA7IglOr001112; Thu, 7 Nov 2002 19:42:48 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: John Baldwin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ppbus pcfclock.c In-Reply-To: Your message of "Thu, 07 Nov 2002 09:26:38 PST." <200211071726.gA7HQcPb030790@repoman.freebsd.org> Date: Thu, 07 Nov 2002 19:42:47 +0100 Message-ID: <1111.1036694567@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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