Fix race condition.
authorAlexey Gladkov <legion@altlinux.org>
Mon, 19 Feb 2007 07:46:23 +0000 (10:46 +0300)
committerAlexey Gladkov <legion@altlinux.org>
Mon, 19 Feb 2007 07:46:23 +0000 (10:46 +0300)
commit9d987aa79647e20620eb668656591df9f90b2893
tree259f072353fb993e3994cbc510a14c119d16dadf
parent8a2cfdfbf5756afff4a0a8dc852d8a478f3e3365
Fix race condition.

When openvt reopen a console descriptor this descriptor maybe
opened by another process.

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
openvt/openvt.c