Changeset dd8ab1c in mainline for uspace/drv/nic/rtl8169/driver.c


Ignore:
Timestamp:
2017-12-10T21:08:11Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
68e5406
Parents:
1afa94d
Message:

More str_error() additions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/rtl8169/driver.c

    r1afa94d rdd8ab1c  
    3030#include <async.h>
    3131#include <errno.h>
     32#include <str_error.h>
    3233#include <align.h>
    3334#include <byteorder.h>
     
    430431        rc = rtl8169_register_int_handler(nic_data, &irq_cap);
    431432        if (rc != EOK) {
    432                 ddf_msg(LVL_ERROR, "Failed to register IRQ handler (%d)", rc);
     433                ddf_msg(LVL_ERROR, "Failed to register IRQ handler (%s)", str_error_name(rc));
    433434                goto err_irq;
    434435        }
     
    706707        rc = rtl8169_allocate_buffers(rtl8169);
    707708        if (rc != EOK) {
    708                 ddf_msg(LVL_ERROR, "Error allocating buffers: %d", rc);
     709                ddf_msg(LVL_ERROR, "Error allocating buffers: %s", str_error_name(rc));
    709710                return 0;
    710711        }
Note: See TracChangeset for help on using the changeset viewer.