summaryrefslogtreecommitdiff
path: root/lib/fstatat.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
committerBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
commit441aa3044f43e5572f58c354f01e6bc070acd5c7 (patch)
treebef236e8058dd3469da28ffcd5a6a287222a4c50 /lib/fstatat.c
parent039ae97b8ae35a2446c5d62d72b21689c97da7e2 (diff)
downloadgnulib-441aa3044f43e5572f58c354f01e6bc070acd5c7.tar.gz
Use spaces for indentation, not tabs.
Diffstat (limited to 'lib/fstatat.c')
-rw-r--r--lib/fstatat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/fstatat.c b/lib/fstatat.c
index 1c6c2d30b7..d58e60b8a4 100644
--- a/lib/fstatat.c
+++ b/lib/fstatat.c
@@ -48,12 +48,12 @@ rpl_fstatat (int fd, char const *file, struct stat *st, int flag)
{
/* Fix lstat behavior. */
if (file[len - 1] != '/' || S_ISDIR (st->st_mode))
- return 0;
+ return 0;
if (!S_ISLNK (st->st_mode))
- {
- errno = ENOTDIR;
- return -1;
- }
+ {
+ errno = ENOTDIR;
+ return -1;
+ }
result = fstatat (fd, file, st, flag & ~AT_SYMLINK_NOFOLLOW);
}
/* Fix stat behavior. */