commit 29f6f6ed73e8e00c45128a6fb4bb9feb520d7c14 parent c1241d0e22ebe03d877295870909d5515269e3ad Author: aabacchus <ben@bvnf.space> Date: Tue, 14 Sep 2021 22:59:19 +0100 ls: fix syntax error Diffstat:
M | src/ls.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/ls.c b/src/ls.c @@ -104,6 +104,7 @@ main(int argc, char *argv[]) switch(ent->d_type) { case DT_REG: /* check if executable */ + ; /* statement after label */ struct stat st; if(fstatat(dirfd(dir), ent->d_name,