Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b11f6fb in mainline


Ignore:
Timestamp:
2013-09-12T15:10:57Z (8 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
f72906c, fada53f
Parents:
3731d31
Message:

slip: return an error code in case of failure.

File:
1 edited

Legend:

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

    r3731d31 rb11f6fb  
    333333                    "Failed to connect to service %s (ID=%d)",
    334334                    svcstr, (int) svcid);
    335                 return rc;
     335                return ENOENT;
    336336        }
    337337        slip_iplink.arg = sess_out;
     
    342342                    "Failed to connect to service %s (ID=%d)",
    343343                    svcstr, (int) svcid);
     344                rc = ENOENT;
    344345                goto fail;
    345346        }
     
    365366                log_msg(LOG_DEFAULT, LVL_ERROR,
    366367                    "Failed to create receive fibril.");
     368                rc = ENOENT;
    367369                goto fail;
    368370        }
Note: See TracChangeset for help on using the changeset viewer.