Changeset dd8ab1c in mainline for uspace/drv/nic/rtl8169/driver.c
- Timestamp:
- 2017-12-10T21:08:11Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68e5406
- Parents:
- 1afa94d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/rtl8169/driver.c
r1afa94d rdd8ab1c 30 30 #include <async.h> 31 31 #include <errno.h> 32 #include <str_error.h> 32 33 #include <align.h> 33 34 #include <byteorder.h> … … 430 431 rc = rtl8169_register_int_handler(nic_data, &irq_cap); 431 432 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)); 433 434 goto err_irq; 434 435 } … … 706 707 rc = rtl8169_allocate_buffers(rtl8169); 707 708 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)); 709 710 return 0; 710 711 }
Note:
See TracChangeset
for help on using the changeset viewer.