Skip to content
Commit c75b7ab6 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

mnt: Devpts options get corrupted on dump (v2)



The memcpy() in devpts_dump() just overwrites part of them.
Fix this and move the whole code into sub-routine for future.

v2: Fix off-by-one error spotted by Filipe.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
Acked-by: default avatarFilipe Brandenburger <filbranden@google.com>
parent 06f559fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment