diff options
Diffstat (limited to 'arch/um/sys-i386/ldt.c')
-rw-r--r-- | arch/um/sys-i386/ldt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/sys-i386/ldt.c b/arch/um/sys-i386/ldt.c index d031a13bd969..a939a7ef0227 100644 --- a/arch/um/sys-i386/ldt.c +++ b/arch/um/sys-i386/ldt.c | |||
@@ -517,7 +517,7 @@ long init_new_ldt(struct mmu_context_skas * new_mm, | |||
517 | .u = | 517 | .u = |
518 | { .copy_segments = | 518 | { .copy_segments = |
519 | from_mm->id.u.mm_fd } } ); | 519 | from_mm->id.u.mm_fd } } ); |
520 | i = os_write_file_k(new_mm->id.u.mm_fd, ©, sizeof(copy)); | 520 | i = os_write_file(new_mm->id.u.mm_fd, ©, sizeof(copy)); |
521 | if(i != sizeof(copy)) | 521 | if(i != sizeof(copy)) |
522 | printk("new_mm : /proc/mm copy_segments failed, " | 522 | printk("new_mm : /proc/mm copy_segments failed, " |
523 | "err = %d\n", -i); | 523 | "err = %d\n", -i); |