aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-11-07 17:26:38 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-11-07 17:26:38 +0000
commit8d667a42c485075f8ebc7fb2f3b63f7aa231a158 (patch)
tree3838ce1df0f4a6ef7515395e0200d9b212b70e7c /sys
parenta885bb6007cdb7b5551b96a5842c65ecbe4902b6 (diff)
downloadsrc-8d667a42c485075f8ebc7fb2f3b63f7aa231a158.tar.gz
src-8d667a42c485075f8ebc7fb2f3b63f7aa231a158.zip
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?)
Notes
Notes: svn path=/head/; revision=106564
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ppbus/pcfclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/pcfclock.c b/sys/dev/ppbus/pcfclock.c
index ef7070079ca5..bd49ebbef6b4 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);