Changed baud from type int to type speed_t.