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:
jhb 2002-11-07 17:26:38 +00:00
parent feb5060448
commit dc0f20a3d2

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