mtd: change positive error return into negative