service: fix typo 'err' in SunOS service class