Fix: err_sys function call