From Wiktionary, the free dictionary
Probably a calque of Swedish måla fan på väggen.
maalata pirua seinälle (literally "to paint a devil on the wall")
- (idiomatic) to expect a misfortune to happen by speaking about it and the chance of it happening
See maalata.