app: Fix a typo in an unused function

Found by wt on irc.