summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_misc.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-09-03 06:18:39 +0000
committermarcel <marcel@FreeBSD.org>1999-09-03 06:18:39 +0000
commit108c4c2c77cbb84a328338d5536dd4b7bfc8738c (patch)
tree12b900e24da59fce4c91abbf0b5bf2ce7c6a4529 /sys/compat/linux/linux_misc.c
parent1b6ed6875dc01239aef14eb5ebfd89a67aa11ade (diff)
downloadFreeBSD-src-108c4c2c77cbb84a328338d5536dd4b7bfc8738c.zip
FreeBSD-src-108c4c2c77cbb84a328338d5536dd4b7bfc8738c.tar.gz
I missed the namechange of field desc in struct i386_ldt_args into descs while
reviewing luoqi's changes... Pointed out by: luoqi
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
-rw-r--r--sys/compat/linux/linux_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index 2dd6a80..3bca8cf 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -1379,7 +1379,7 @@ linux_modify_ldt(p, uap)
case 0x00: /* read_ldt */
ldt = stackgap_alloc(&sg, sizeof(*ldt));
ldt->start = 0;
- ldt->desc = uap->ptr;
+ ldt->descs = uap->ptr;
ldt->num = uap->bytecount / sizeof(union descriptor);
args.op = I386_GET_LDT;
args.parms = (char*)ldt;
@@ -1398,7 +1398,7 @@ linux_modify_ldt(p, uap)
ldt = stackgap_alloc(&sg, sizeof(*ldt));
desc = stackgap_alloc(&sg, sizeof(*desc));
ldt->start = ld.entry_number;
- ldt->desc = desc;
+ ldt->descs = desc;
ldt->num = 1;
desc->sd.sd_lolimit = (ld.limit & 0x0000ffff);
desc->sd.sd_hilimit = (ld.limit & 0x000f0000) >> 16;
OpenPOWER on IntegriCloud