Changes in uspace/drv/char/sun4v-con/sun4v-con.c [5f97ef44:4f87a85a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/sun4v-con/sun4v-con.c
r5f97ef44 r4f87a85a 74 74 ddf_fun_t *fun = NULL; 75 75 errno_t rc; 76 bool bound = false; 76 77 77 78 con->res = *res; … … 113 114 } 114 115 115 ddf_fun_add_to_category(fun, "console"); 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 } 116 124 117 125 return EOK; … … 122 130 if (con->output_buffer != (niagara_output_buffer_t *) AS_AREA_ANY) 123 131 physmem_unmap((void *) con->output_buffer); 132 133 if (bound) 134 ddf_fun_unbind(fun); 124 135 125 136 if (fun != NULL)
Note:
See TracChangeset
for help on using the changeset viewer.