Changeset dc87f3fd in mainline for uspace/srv/devman/devman.c
- Timestamp:
- 2011-03-28T20:19:16Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- df147c7
- Parents:
- fd89cf9
- git-author:
- Vojtech Horky <> (2011-03-28 20:19:16)
- git-committer:
- Jiri Svoboda <jiri@…> (2011-03-28 20:19:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.c
rfd89cf9 rdc87f3fd 266 266 } 267 267 268 if (read(fd, buf, len) <= 0) { 268 ssize_t read_bytes = safe_read(fd, buf, len); 269 if (read_bytes <= 0) { 269 270 printf(NAME ": unable to read file '%s'.\n", conf_path); 270 271 goto cleanup; 271 272 } 272 buf[ len] = 0;273 buf[read_bytes] = 0; 273 274 274 275 suc = parse_match_ids(buf, ids);
Note:
See TracChangeset
for help on using the changeset viewer.