summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-01-23 18:34:12 +0000
committerJim Meyering <jim@meyering.net>1998-01-23 18:34:12 +0000
commit9c70563ee77c6faec866b4891879bde924e4e6fb (patch)
treed54592609f48657149d1043b990319777ad79168 /src
parent37ce5a5497604c48232f19a94eae383627ae5062 (diff)
downloadcoreutils-9c70563ee77c6faec866b4891879bde924e4e6fb.tar.xz
add curlies
Diffstat (limited to 'src')
-rw-r--r--src/ls.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index cd0447002..5f21f12c2 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -1710,7 +1710,10 @@ gobble_file (const char *name, int explicit_arg, const char *dirname)
val = lstat (path, &files[files_index].stat);
}
else
- val = lstat (path, &files[files_index].stat);
+ {
+ val = lstat (path, &files[files_index].stat);
+ }
+
if (val < 0)
{
error (0, errno, "%s", path);