Ignore:
File:
1 edited

Legend:

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

    rd5c1051 rf9b2cb4c  
    108108        nic->iplink.arg = nic;
    109109
    110         if (asprintf(&svc_name, "net/eth%u", ++link_num) < 0) {
     110        rc = asprintf(&svc_name, "net/eth%u", ++link_num);
     111        if (rc < 0) {
    111112                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.