Etymology
Today it means: So as to correct something. Full definition →
From correcting + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.