Changeset 8a637a4 in mainline for uspace/lib/nettl/src/portrng.c


Ignore:
Timestamp:
2015-09-30T17:47:41Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f1f7584
Parents:
a955fcc
Message:

remove EEXISTS in favor of EEXIST

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/nettl/src/portrng.c

    ra955fcc r8a637a4  
    8888 * @param apnum Place to store allocated port number
    8989 *
    90  * @return EOK on success, ENOENT if no free port number found, EEXISTS
     90 * @return EOK on success, ENOENT if no free port number found, EEXIST
    9191 *         if @a pnum is specified but it is already allocated,
    9292 *         EINVAL if @a pnum is specified from the system range, but
     
    137137                        if (port->pn == pnum) {
    138138                                log_msg(LOG_DEFAULT, LVL_DEBUG2, "port already used");
    139                                 return EEXISTS;
     139                                return EEXIST;
    140140                        }
    141141                }
Note: See TracChangeset for help on using the changeset viewer.