diff options
author | jhb <jhb@FreeBSD.org> | 2002-11-07 17:26:38 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-11-07 17:26:38 +0000 |
commit | dc0f20a3d23c48eb3fef3e967f254ffc98738c8e (patch) | |
tree | 3838ce1df0f4a6ef7515395e0200d9b212b70e7c | |
parent | feb50604482c8474086a7f7db4e85d6f3a23ccd8 (diff) | |
download | FreeBSD-src-dc0f20a3d23c48eb3fef3e967f254ffc98738c8e.zip FreeBSD-src-dc0f20a3d23c48eb3fef3e967f254ffc98738c8e.tar.gz |
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?)
-rw-r--r-- | sys/dev/ppbus/pcfclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |