Changes in uspace/drv/char/sun4v-con/sun4v-con.c [4f87a85a:5f97ef44] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/sun4v-con/sun4v-con.c
r4f87a85a r5f97ef44 74 74 ddf_fun_t *fun = NULL; 75 75 errno_t rc; 76 bool bound = false;77 76 78 77 con->res = *res; … … 114 113 } 115 114 116 bound = true; 117 118 rc = ddf_fun_add_to_category(fun, "console"); 119 if (rc != EOK) { 120 ddf_msg(LVL_ERROR, "Error adding function 'a' to category " 121 "'console'."); 122 goto error; 123 } 115 ddf_fun_add_to_category(fun, "console"); 124 116 125 117 return EOK; … … 130 122 if (con->output_buffer != (niagara_output_buffer_t *) AS_AREA_ANY) 131 123 physmem_unmap((void *) con->output_buffer); 132 133 if (bound)134 ddf_fun_unbind(fun);135 124 136 125 if (fun != NULL)
Note:
See TracChangeset
for help on using the changeset viewer.