Etymology
Today it means: In a faulty manner. Full definition →
From faulty + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.