diff options
author | phk <phk@FreeBSD.org> | 2002-09-20 17:55:47 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-09-20 17:55:47 +0000 |
commit | e5427d6bd3c5ad496a266ca918eeb106c3c04bb2 (patch) | |
tree | 00c3e068785c82a120ddab5b08a2d3dc7ed7e511 /sys | |
parent | a3e4a43eb40ed09b8052f1c485b016facc0886b4 (diff) | |
download | FreeBSD-src-e5427d6bd3c5ad496a266ca918eeb106c3c04bb2.zip FreeBSD-src-e5427d6bd3c5ad496a266ca918eeb106c3c04bb2.tar.gz |
Put an XXX comment here to point somebody in the right direction.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 82675f3..f19a2da 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -118,6 +118,7 @@ linux_ioctl_disk(struct thread *td, struct linux_ioctl_args *args) return (error); switch (args->cmd & 0xffff) { case LINUX_BLKGETSIZE: + /* XXX: wrong, should use DIOCGMEDIASIZE/DIOCGSECTORSIZE */ error = fo_ioctl(fp, DIOCGDINFO, (caddr_t)&dl, td->td_ucred, td); fdrop(fp, td); |