Minneapolis-based International Multifoods has posted a second-quarter profit, compared to a year-earlier loss, despite a weak sales performance by its foodservice business.