1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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?)
This commit is contained in:
John Baldwin 2002-11-07 17:26:38 +00:00
parent a885bb6007
commit 8d667a42c4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106564

View File

@ -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);