remove caddr_t from fo_ioctl calls

This commit is contained in:
alfred 2002-07-22 15:46:51 +00:00
parent bb1a616a3f
commit 73d7a388d6

View File

@ -656,7 +656,7 @@ ioctl(td, uap)
else
fp->f_flag &= ~FNONBLOCK;
FILE_UNLOCK(fp);
error = fo_ioctl(fp, FIONBIO, (caddr_t)&tmp, td);
error = fo_ioctl(fp, FIONBIO, &tmp, td);
break;
case FIOASYNC:
@ -666,7 +666,7 @@ ioctl(td, uap)
else
fp->f_flag &= ~FASYNC;
FILE_UNLOCK(fp);
error = fo_ioctl(fp, FIOASYNC, (caddr_t)&tmp, td);
error = fo_ioctl(fp, FIOASYNC, &tmp, td);
break;
default: