fix error messages being off by one line
Authored by: vincent_cave 2012-01-20
Parent: [r5464]
Child: [r5466]