Changes in uspace/drv/rootvirt/rootvirt.c [ebcb05a:fc51296] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/rootvirt/rootvirt.c
rebcb05a rfc51296 84 84 int rc; 85 85 86 ddf_msg(LVL_DEBUG, "Registering function `%s' (match \"%s\") ",86 ddf_msg(LVL_DEBUG, "Registering function `%s' (match \"%s\")\n", 87 87 vfun->name, vfun->match_id); 88 88 89 89 fun = ddf_fun_create(vdev, fun_inner, vfun->name); 90 90 if (fun == NULL) { 91 ddf_msg(LVL_ERROR, "Failed creating function %s ", vfun->name);91 ddf_msg(LVL_ERROR, "Failed creating function %s\n", vfun->name); 92 92 return ENOMEM; 93 93 } … … 95 95 rc = ddf_fun_add_match_id(fun, vfun->match_id, 10); 96 96 if (rc != EOK) { 97 ddf_msg(LVL_ERROR, "Failed adding match IDs to function %s ",97 ddf_msg(LVL_ERROR, "Failed adding match IDs to function %s\n", 98 98 vfun->name); 99 99 ddf_fun_destroy(fun); … … 103 103 rc = ddf_fun_bind(fun); 104 104 if (rc != EOK) { 105 ddf_msg(LVL_ERROR, "Failed binding function %s: %s ",106 vfun->name,str_error(rc));105 ddf_msg(LVL_ERROR, "Failed binding function %s: %s\n", vfun->name, 106 str_error(rc)); 107 107 ddf_fun_destroy(fun); 108 108 return rc; 109 109 } 110 110 111 ddf_msg(LVL_NOTE, "Registered child device `%s' ", vfun->name);111 ddf_msg(LVL_NOTE, "Registered child device `%s'\n", vfun->name); 112 112 return EOK; 113 113 } … … 125 125 } 126 126 127 ddf_msg(LVL_DEBUG, "add_device(handle=%d) ", (int)dev->handle);127 ddf_msg(LVL_DEBUG, "add_device(handle=%d)\n", (int)dev->handle); 128 128 129 129 /*
Note:
See TracChangeset
for help on using the changeset viewer.