Changes in uspace/app/bdsh/cmds/modules/ls/ls.c [19f857a:5b3cf90] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/ls/ls.c
r19f857a r5b3cf90 40 40 #include <sys/types.h> 41 41 #include <sys/stat.h> 42 #include <str .h>42 #include <string.h> 43 43 44 44 #include "errors.h" … … 49 49 #include "cmds.h" 50 50 51 static c onst char *cmdname = "ls";51 static char *cmdname = "ls"; 52 52 53 53 static void ls_scan_dir(const char *d, DIR *dirp) … … 100 100 if (s.is_file) 101 101 printf("%-40s\t%llu\n", name, (long long) s.size); 102 else if (s.is_directory)103 printf("%-40s\t<dir>\n", name);104 102 else 105 103 printf("%-40s\n", name);
Note:
See TracChangeset
for help on using the changeset viewer.