errc() needs compat glue