Dustin Pedroia was safe at first base on a seventh-inning throwing error by Orioles third baseman Manny Machado.