Simplify some 'fprintf(stderr); return -1;' by using 'return error()'