From d734859c2aa9aa85d79200c33dc3391d51503ff2 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 20 Sep 2002 17:55:47 +0000 Subject: [PATCH] Put an XXX comment here to point somebody in the right direction. --- sys/compat/linux/linux_ioctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 82675f364a26..f19a2da1728c 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);