files: Use switch in collect_fd
For easier transition to tty c/r. We will need more types here, thus using switch statement makes code a bit easier to read. Signed-off-by:Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Loading
Please register or sign in to comment