The Erlang code is only invoked if the NIF didn't load, so it just would have returned ok without complaining in that case.