Australia made hard work of grabbing a narrow lead over tenacious Sri Lanka on the second day tarnished by reckless run outs and rash shot-making in the third Test at the Sydney Cricket Ground.
The home side, with the series already clinched after wins in Hobart and Melbourne, edged Friday to a 48-run lead over the tourists.
But it proved tough going and the Australians failed to get away to a bigger lead after a run-a-minute start.
At the close, Australia were 342 for six with Matthew Wade on 47 and Peter Siddle not out 16.