From 108c4c2c77cbb84a328338d5536dd4b7bfc8738c Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 3 Sep 1999 06:18:39 +0000 Subject: I missed the namechange of field desc in struct i386_ldt_args into descs while reviewing luoqi's changes... Pointed out by: luoqi --- sys/compat/linux/linux_misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/compat/linux/linux_misc.c') 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; -- cgit v1.1