Catch up to -current.

main
Eric Anholt 2002-10-27 05:24:33 +00:00
parent b3a20ce219
commit 9f21f02217
2 changed files with 8 additions and 0 deletions

View File

@ -1037,7 +1037,11 @@ int DRM(ioctl)( DRM_IOCTL_ARGS )
case FIOGETOWN: case FIOGETOWN:
atomic_dec(&dev->ioctl_count); atomic_dec(&dev->ioctl_count);
#if (__FreeBSD_version >= 500000)
*(int *) data = fgetown(&dev->buf_sigio);
#else
*(int *) data = fgetown(dev->buf_sigio); *(int *) data = fgetown(dev->buf_sigio);
#endif
return 0; return 0;
} }
#endif /* __FreeBSD__ */ #endif /* __FreeBSD__ */

View File

@ -1037,7 +1037,11 @@ int DRM(ioctl)( DRM_IOCTL_ARGS )
case FIOGETOWN: case FIOGETOWN:
atomic_dec(&dev->ioctl_count); atomic_dec(&dev->ioctl_count);
#if (__FreeBSD_version >= 500000)
*(int *) data = fgetown(&dev->buf_sigio);
#else
*(int *) data = fgetown(dev->buf_sigio); *(int *) data = fgetown(dev->buf_sigio);
#endif
return 0; return 0;
} }
#endif /* __FreeBSD__ */ #endif /* __FreeBSD__ */