Changeset 25697163 in mainline for uspace/srv/sysman/connection_ctl.c


Ignore:
Timestamp:
2019-10-06T19:47:15Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
9559cf8
Parents:
102f641
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-09-06 17:58:36)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-10-06 19:47:15)
Message:

Replacing int with errno_t

The merged code from system-daemon still used the type int
for indicating an error instead of using errno_t. This
commit corrects this mistake

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/connection_ctl.c

    r102f641 r25697163  
    7070        sysarg_t retval;
    7171
    72         int rc = async_data_write_accept((void **) &unit_name, true,
     72        errno_t rc = async_data_write_accept((void **) &unit_name, true,
    7373            0, 0, 0, NULL);
    7474        if (rc != EOK) {
     
    9797        sysarg_t retval;
    9898
    99         int rc = async_data_write_accept((void **) &unit_name, true,
     99        errno_t rc = async_data_write_accept((void **) &unit_name, true,
    100100            0, 0, 0, NULL);
    101101        if (rc != EOK) {
     
    186186}
    187187
    188 static int fill_handles_buffer(unit_handle_t *buffer, size_t size,
     188static errno_t fill_handles_buffer(unit_handle_t *buffer, size_t size,
    189189    size_t *act_size)
    190190{
     
    213213        size_t size;
    214214        size_t act_size;
    215         int rc;
     215        errno_t rc;
    216216
    217217        if (!async_data_read_receive(&call, &size)) {
Note: See TracChangeset for help on using the changeset viewer.