Changes in uspace/drv/intctl/apic/apic.c [b446b02:dd8ab1c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/intctl/apic/apic.c
rb446b02 rdd8ab1c 45 45 #include <stdbool.h> 46 46 #include <errno.h> 47 #include <str_error.h> 47 48 #include <async.h> 48 49 #include <stdio.h> … … 220 221 rc = pio_enable((void *) res->base, IO_APIC_SIZE, ®s); 221 222 if (rc != EOK) { 222 printf("%s: Failed to enable PIO for APIC: % d\n", NAME, rc);223 printf("%s: Failed to enable PIO for APIC: %s\n", NAME, str_error(rc)); 223 224 return EIO; 224 225 } … … 237 238 rc = ddf_fun_bind(fun_a); 238 239 if (rc != EOK) { 239 ddf_msg(LVL_ERROR, "Failed binding function 'a' . (%d)", rc);240 ddf_msg(LVL_ERROR, "Failed binding function 'a': %s", str_error(rc)); 240 241 goto error; 241 242 }
Note:
See TracChangeset
for help on using the changeset viewer.