Changes in uspace/srv/devman/devman.c [4022513:b72efe8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.c
r4022513 rb72efe8 270 270 } 271 271 272 ssize_t read_bytes = read_all(fd, buf, len);272 ssize_t read_bytes = safe_read(fd, buf, len); 273 273 if (read_bytes <= 0) { 274 log_msg(LVL_ERROR, "Unable to read file '%s' (%zd).", conf_path, 275 read_bytes); 274 log_msg(LVL_ERROR, "Unable to read file '%s'.", conf_path); 276 275 goto cleanup; 277 276 } … … 422 421 } 423 422 424 insert_fun_node(tree, fun, str_dup(""), NULL);423 insert_fun_node(tree, fun, clone_string(""), NULL); 425 424 match_id_t *id = create_match_id(); 426 id->id = str_dup("root");425 id->id = clone_string("root"); 427 426 id->score = 100; 428 427 add_match_id(&fun->match_ids, id);
Note:
See TracChangeset
for help on using the changeset viewer.