Changeset 84876aa4 in mainline for uspace/app/df/df.c
- Timestamp:
- 2019-11-15T13:46:34Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ecb7828
- Parents:
- b093a62 (diff), d548fc0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/df/df.c
rb093a62 r84876aa4 35 35 */ 36 36 37 #include <cap .h>37 #include <capa.h> 38 38 #include <stdbool.h> 39 39 #include <stdio.h> … … 124 124 static errno_t size_to_human_readable(uint64_t nblocks, size_t block_size, char **rptr) 125 125 { 126 cap _spec_t cap;127 128 cap _from_blocks(nblocks, block_size, &cap);129 cap _simplify(&cap);130 return cap _format(&cap, rptr);126 capa_spec_t capa; 127 128 capa_from_blocks(nblocks, block_size, &capa); 129 capa_simplify(&capa); 130 return capa_format(&capa, rptr); 131 131 } 132 132
Note:
See TracChangeset
for help on using the changeset viewer.