Changes in uspace/app/bdsh/cmds/modules/ls/ls.c [c24b0dcb:c878693] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/ls/ls.c
rc24b0dcb rc878693 42 42 #include <vfs/vfs.h> 43 43 #include <str.h> 44 #include <cap a.h>44 #include <cap.h> 45 45 46 46 #include "ls.h" … … 106 106 } 107 107 108 cap a_spec_t capa;109 cap a_from_blocks(de->s.size, 1, &capa);110 cap a_simplify(&capa);108 cap_spec_t cap; 109 cap_from_blocks(de->s.size, 1, &cap); 110 cap_simplify(&cap); 111 111 112 112 char *rptr; 113 errno_t rc = cap a_format(&capa, &rptr);113 errno_t rc = cap_format(&cap, &rptr); 114 114 if (rc != EOK) { 115 115 return rc; … … 267 267 268 268 /* Populate the directory list. */ 269 if (ls.recursive && nbdirs > 0) {269 if (ls.recursive) { 270 270 tmp = (struct dir_elem_t *) realloc(*dir_list_ptr, 271 271 nbdirs * sizeof(struct dir_elem_t));
Note:
See TracChangeset
for help on using the changeset viewer.