South Korea’s military fired warning shots toward a North Korean merchant boat with engine trouble that violated their sea border on Wednesday, South Korean officials said.