Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/ethip/ethip.c

    rf9b2cb4c rd5c1051  
    108108        nic->iplink.arg = nic;
    109109
    110         rc = asprintf(&svc_name, "net/eth%u", ++link_num);
    111         if (rc < 0) {
     110        if (asprintf(&svc_name, "net/eth%u", ++link_num) < 0) {
    112111                log_msg(LOG_DEFAULT, LVL_ERROR, "Out of memory.");
     112                rc = ENOMEM;
    113113                goto error;
    114114        }
Note: See TracChangeset for help on using the changeset viewer.