Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/ls/ls.c

    r19f857a r5b3cf90  
    4040#include <sys/types.h>
    4141#include <sys/stat.h>
    42 #include <str.h>
     42#include <string.h>
    4343
    4444#include "errors.h"
     
    4949#include "cmds.h"
    5050
    51 static const char *cmdname = "ls";
     51static char *cmdname = "ls";
    5252
    5353static void ls_scan_dir(const char *d, DIR *dirp)
     
    100100        if (s.is_file)
    101101                printf("%-40s\t%llu\n", name, (long long) s.size);
    102         else if (s.is_directory)
    103                 printf("%-40s\t<dir>\n", name);
    104102        else
    105103                printf("%-40s\n", name);
Note: See TracChangeset for help on using the changeset viewer.