commit 6be7eaff1b07845aa80b3bba8bc4de48b2305146
parent f90354bfc9761500cd6ddc1f00652a669c6f4919
Author: Alexandre Niveau <alexandre.niveau@gmail.com>
Date: Thu, 14 May 2015 23:37:54 +0200
ls: fix option -S for it to work without -lnpFi
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ls.c b/ls.c
@@ -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);