ls: fix option -S for it to work without -lnpFi
This commit is contained in:
parent
f90354bfc9
commit
6be7eaff1b
2
ls.c
2
ls.c
|
@ -239,7 +239,7 @@ lsdir(const char *path)
|
||||||
}
|
}
|
||||||
*p = '\0';
|
*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);
|
closedir(dp);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user