SAN DIEGO — Homer Bailey gave the struggling Cincinnati Reds exactly what they needed.
The right-hander came within two outs of a five-hit shutout to end his four-start losing streak and the Reds beat the San Diego Padres 4-1 Wednesday to snap a five-game skid.
Brandon Phillips homered and Joey Votto hit a two-run double for the Reds, who avoided a three-game sweep and ended San Diego's four-game winning streak.
"Before the game I said the law of averages were on our side to win on the road, and for Homer to win," Manager Dusty Baker said. "It's been a long time since he's won. There were some big hits that we got today that we have been missing the past few days."
Not only had the Reds lost five straight after winning the first four games of their 10-game West Coast trip, but Bailey hadn't won since throwing the second no-hitter of his career July 2 at home against San Francisco. Three of his four losses since then had come on the road.
Bailey had allowed just five singles going into the ninth, when Everth Cabrera reached on a fielding error by first baseman Votto leading off the inning. He got Chris Denorfia to fly out before Chase Headley doubled in Cabrera. Baker pulled Bailey, and Aroldis Chapman got the final two outs for his 25th save in 29 chances.
Manager Bud Black said the Padres "just couldn't seem to square the fastball up" against Bailey. "He had good movement, pitched well."
"He always has good velocity but I thought his fastball today had even a little bit more life than it usually does," Headley said.
Phillips homered to center field off lefty Eric Stults (8-10) leading off the second, his 13th.
The Reds added three more runs in the seventh, all unearned because of third baseman Headley's throwing error on Derrick Robinson's grounder. The error put runners on first and third, and Chris Heisey singled to left to score Zack Cosart, aboard on a leadoff single. Votto followed with a double to right to bring in Robinson and Heisey.
The Reds are off Thursday before opening an eight-game homestand.
"This off day is going to be really big for us," Bailey said. "Especially after a long trip, different time zones. We started off really well. We just couldn't quite seem to squeeze out those wins in L.A., and even here, for a couple of days. It feels good to end it on a good note."
Stults allowed four runs, one earned, on 10 hits in 62⁄3 innings. He struck out five and walked none.
Tuesday night: Padres 4, Reds 2: Nick Hundley hit a two-run double with two outs in the eighth as the Reds suffered their fifth straight loss.
Will Venable, who scored the go-ahead run on Hundley's hit, went 3-for-3 with a walk, a run scored and an RBI.
Cardinals at Reds
When: Friday, 7:10 p.m.
TV: Fox Sports Ohio