- PtlInit(&max_interfaces);
- rc = PtlNIInit(procbridge_interface, 0, 0, 0, &tcpnal_ni);
- if (rc != 0) {
- CERROR("TCPNAL: PtlNIInit failed: error %d\n", rc);
- PtlFini();
- RETURN (rc);
+ rc = PtlInit(&max_interfaces);
+ if (rc != PTL_OK) {
+ CERROR("PtlInit failed: %d\n", rc);
+ RETURN (-ENXIO);