Changeset d5c1051 in mainline for uspace/srv/net/ethip/ethip.c
- Timestamp:
- 2017-12-20T22:25:34Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 39b54fe
- Parents:
- 8610c2c
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:22:29)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:25:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/ethip/ethip.c
r8610c2c rd5c1051 108 108 nic->iplink.arg = nic; 109 109 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) { 112 111 log_msg(LOG_DEFAULT, LVL_ERROR, "Out of memory."); 112 rc = ENOMEM; 113 113 goto error; 114 114 }
Note:
See TracChangeset
for help on using the changeset viewer.