From dc0f20a3d23c48eb3fef3e967f254ffc98738c8e Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 7 Nov 2002 17:26:38 +0000 Subject: 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?) --- sys/dev/ppbus/pcfclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ppbus/pcfclock.c b/sys/dev/ppbus/pcfclock.c index ef70700..bd49ebb 100644 --- a/sys/dev/ppbus/pcfclock.c +++ b/sys/dev/ppbus/pcfclock.c @@ -301,7 +301,7 @@ pcfclock_read_dev(dev_t dev, char *buf, int maxretries) return (error); } -static ssize_t +static int pcfclock_read(dev_t dev, struct uio *uio, int ioflag) { u_int unit = minor(dev); -- cgit v1.1