tty: Make sure we're opening unpaired pty
tty: Make sure we're opening unpaired pty

pty_open_unpaired_slave must be called for
pty peers only and it caused no problems so
far but better to be sure it's pty peer we're
restoring (there gonna be more drivers with
time).

Signed-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@openvz.org>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

fbocharov/criu,wtf42/criu,ldu4/criu,wtf42/criu,fbocharov/criu,marcosnils/criu,AuthenticEshkinKot/criu,rentzsch/criu,sdgdsffdsfff/criu,fbocharov/criu,gablg1/criu,fbocharov/criu,gablg1/criu,eabatalov/criu,rentzsch/criu,gonkulator/criu,gablg1/criu,efiop/criu,sdgdsffdsfff/criu,ldu4/criu,tych0/criu,wtf42/criu,fbocharov/criu,tych0/criu,ldu4/criu,AuthenticEshkinKot/criu,AuthenticEshkinKot/criu,tych0/criu,KKoukiou/criu-remote,LK4D4/criu,biddyweb/criu,gonkulator/criu,sdgdsffdsfff/criu,gonkulator/criu,ldu4/criu,rentzsch/criu,KKoukiou/criu-remote,AuthenticEshkinKot/criu,marcosnils/criu,marcosnils/criu,LK4D4/criu,ldu4/criu,eabatalov/criu,eabatalov/criu,gonkulator/criu,LK4D4/criu,KKoukiou/criu-remote,eabatalov/criu,biddyweb/criu,KKoukiou/criu-remote,AuthenticEshkinKot/criu,rentzsch/criu,gonkulator/criu,tych0/criu,gablg1/criu,fbocharov/criu,efiop/criu,efiop/criu,eabatalov/criu,svloyso/criu,biddyweb/criu,gonkulator/criu,efiop/criu,tych0/criu,KKoukiou/criu-remote,rentzsch/criu,efiop/criu,ldu4/criu,biddyweb/criu,svloyso/criu,svloyso/criu,marcosnils/criu,svloyso/criu,AuthenticEshkinKot/criu,sdgdsffdsfff/criu,svloyso/criu,LK4D4/criu,LK4D4/criu,sdgdsffdsfff/criu,wtf42/criu,gablg1/criu,marcosnils/criu,marcosnils/criu,gablg1/criu,wtf42/criu,biddyweb/criu,LK4D4/criu,efiop/criu,rentzsch/criu,sdgdsffdsfff/criu,tych0/criu,wtf42/criu,KKoukiou/criu-remote,biddyweb/criu,svloyso/criu,eabatalov/criu