Fix directory indicator

This commit is contained in:
Arun Prakash Jana 2019-03-04 23:37:51 +05:30
parent 6816e83e83
commit b2aea5c619
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -2098,7 +2098,10 @@ static char *coolsize(off_t size)
static char *get_file_sym(mode_t mode)
{
static char ind[2] = "\0\0";
static char ind[2];
ind[0] = '\0';
ind[1] = '\0';
switch (mode & S_IFMT) {
case S_IFREG: