src/tee: removed magic numbers (-2)
src/tty: changed O_ to F_ (for consistency)