Mair got a loose puck and skated to the net around Kristopher Letang in the left circle, sneaking a shot past goalie Jocelyn Thibault on the short side just before taking a big hit from Noah Welch.
Maxim Afinogenov had tied the game with 5:52 to play in the third period on the Sabres' second short-handed goal of the game, skating around Ryan Whitney between the circles and then avoiding a sliding Brooks Orpik to score his first goal of the preseason.
The Penguins (2-1-3) and Sabres (4-1-0) meet again Saturday night in Buffalo.
The Penguins built a 2-1 lead after two periods. Colby Armstrong's goal at 7:27 of the first period made it 1-0, and after Daniel Briere tied it on a power-play goal at 14:04 of the second, John LeClair put Pittsburgh ahead by skating down the right wing and beating Martin Biron.
Teppo Numminen's short-handed goal 30 seconds into the third period tied the game, but Armstrong scored his second goal with 8:34 to play to give the Penguins a 3-2 lead, taking a cross-ice pass from Whitney to beat Biron from the left circle.
Linemate Sidney Crosby picked up his second assist of the game on the play and has nine points in four preseason games.
Buffalo Sabres 2013 Wall Calendar
$1.99 Shop Now!
|7:27||Colby Armstrong - Assists: Nils Ekman and Sidney Crosby|
|14:04||Power Play - Daniel Briere - Assists: Jaroslav Spacek and Brian Campbell|
|15:24||John LeClair - Assists: Karl Stewart and Kristopher Letang|
|:30||Teppo Numminen - Assist: Thomas Vanek|
|11:26||Power Play - Colby Armstrong - Assists: Ryan Whitney and Sidney Crosby|
|14:08||Maxim Afinogenov - Assists: Nathan Paetsch and Derek Roy|
|2:02||Libor Pivko: hooking - minor|
|3:48||Paul Gaustad: interference - minor|
|8:10||Chris Thorburn: unsportsmanlike-conduct - minor|
|8:10||Chris Thorburn: elbowing - minor|
|10:30||Brooks Orpik: tripping - minor|
|16:23||Paul Gaustad: elbowing - minor|
|18:05||Thomas Vanek: holding - minor|
|2:59||Ryan Whitney: interference - minor|
|7:55||Jaroslav Spacek: roughing - minor|
|13:03||Sergei Gonchar: hooking - minor|
|20:00||Jaroslav Spacek: hooking - minor|
|1:19||John LeClair: holding - minor|
|9:50||Daniel Briere: slashing - minor|
|11:59||Kristopher Letang: hooking - minor|
|13:12||Dmitri Kalinin: hooking - minor|
|15:43||Libor Pivko: tripping - minor|
|19:00||John LeClair: tripping - minor|
|20:00||Jarkko Ruutu: roughing - minor|
|20:00||Daniel Briere: roughing - minor|
|SHOTS ON GOALS|
|Attendance - 11610|
|Game Time - 62:53|
|Referees - Kevin Pollock, Chris Rooney|
|Line Judges - Derek Amell, Mark Pare|