diff options
author | ed <ed@FreeBSD.org> | 2011-07-17 08:19:19 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-07-17 08:19:19 +0000 |
commit | b700662b066589afc182bbb9bfcd9b2f47ebf7b4 (patch) | |
tree | 00796d2a840b7a11ecdcf2e34011466bf0ee60ec /sys/i386/ibcs2 | |
parent | c3314d5c524fc613352a272b035dd5b3e6bea451 (diff) | |
download | FreeBSD-src-b700662b066589afc182bbb9bfcd9b2f47ebf7b4.zip FreeBSD-src-b700662b066589afc182bbb9bfcd9b2f47ebf7b4.tar.gz |
Restore binary compatibility for GIO_KEYMAP and PIO_KEYMAP.
Back in 2009 I changed the ABI of the GIO_KEYMAP and PIO_KEYMAP ioctls
to support wide characters. I created a patch to add ABI compatibility
for the old calls, but I didn't get any feedback to that.
It seems now people are upgrading from 8 to 9 they experience this
issue, so add it anyway.
Diffstat (limited to 'sys/i386/ibcs2')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/ibcs2/ibcs2_ioctl.c b/sys/i386/ibcs2/ibcs2_ioctl.c index 17749db..90184e3 100644 --- a/sys/i386/ibcs2/ibcs2_ioctl.c +++ b/sys/i386/ibcs2/ibcs2_ioctl.c @@ -654,12 +654,12 @@ ibcs2_ioctl(td, uap) break; case IBCS2_GIO_KEYMAP: /* Get keyboard map table */ - uap->cmd = GIO_KEYMAP; + uap->cmd = OGIO_KEYMAP; error = ioctl(td, (struct ioctl_args *)uap); break; case IBCS2_PIO_KEYMAP: /* Set keyboard map table */ - uap->cmd = PIO_KEYMAP; + uap->cmd = OPIO_KEYMAP; error = ioctl(td, (struct ioctl_args *)uap); break; |