Changeset ebcb05a in mainline for uspace/drv/rootvirt/rootvirt.c
- Timestamp:
- 2011-04-01T19:00:51Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 969585f, ea53529
- Parents:
- bdbb6f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/rootvirt/rootvirt.c
rbdbb6f6 rebcb05a 84 84 int rc; 85 85 86 ddf_msg(LVL_DEBUG, "Registering function `%s' (match \"%s\") \n",86 ddf_msg(LVL_DEBUG, "Registering function `%s' (match \"%s\")", 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 \n", vfun->name);91 ddf_msg(LVL_ERROR, "Failed creating function %s", 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 \n",97 ddf_msg(LVL_ERROR, "Failed adding match IDs to function %s", 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 \n", vfun->name,106 str_error(rc));105 ddf_msg(LVL_ERROR, "Failed binding function %s: %s", 106 vfun->name, 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' \n", vfun->name);111 ddf_msg(LVL_NOTE, "Registered child device `%s'", vfun->name); 112 112 return EOK; 113 113 } … … 125 125 } 126 126 127 ddf_msg(LVL_DEBUG, "add_device(handle=%d) \n", (int)dev->handle);127 ddf_msg(LVL_DEBUG, "add_device(handle=%d)", (int)dev->handle); 128 128 129 129 /*
Note:
See TracChangeset
for help on using the changeset viewer.