ls: fix option -S for it to work without -lnpFi

This commit is contained in:
Alexandre Niveau 2015-05-14 23:37:54 +02:00 committed by sin
parent f90354bfc9
commit 6be7eaff1b

2
ls.c
View File

@ -239,7 +239,7 @@ lsdir(const char *path)
}
*p = '\0';
}
mkent(&ents[n - 1], name, tflag || Fflag || iflag || lflag || pflag || Rflag, Lflag);
mkent(&ents[n - 1], name, tflag || Sflag || Fflag || iflag || lflag || pflag || Rflag, Lflag);
}
}
closedir(dp);