Changeset 72c72d4 in mainline for uspace/srv/volsrv/part.c
- Timestamp:
- 2018-06-29T13:41:13Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1a9174e
- Parents:
- db9c889
- git-author:
- Jiri Svoboda <jiri@…> (2018-06-28 17:40:58)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-06-29 13:41:13)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/volsrv/part.c
rdb9c889 r72c72d4 478 478 errno_t vol_part_get_info(vol_part_t *part, vol_part_info_t *pinfo) 479 479 { 480 memset(pinfo, 0, sizeof(*pinfo)); 481 480 482 pinfo->pcnt = part->pcnt; 481 483 pinfo->fstype = part->fstype; 482 484 str_cpy(pinfo->label, sizeof(pinfo->label), part->label); 483 str_cpy(pinfo->cur_mp, sizeof(pinfo->cur_mp), part->cur_mp); 485 if (part->cur_mp != NULL) 486 str_cpy(pinfo->cur_mp, sizeof(pinfo->cur_mp), part->cur_mp); 484 487 pinfo->cur_mp_auto = part->cur_mp_auto; 485 488 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.