summaryrefslogtreecommitdiff
path: root/lib/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stat.c')
-rw-r--r--lib/stat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stat.c b/lib/stat.c
index 8502ad2f9..97b340c74 100644
--- a/lib/stat.c
+++ b/lib/stat.c
@@ -55,10 +55,10 @@ rpl_stat (char const *name, struct stat *st)
{
size_t len = strlen (name);
if (ISSLASH (name[len - 1]))
- {
- errno = ENOTDIR;
- return -1;
- }
+ {
+ errno = ENOTDIR;
+ return -1;
+ }
}
#endif /* REPLACE_FUNC_STAT_FILE */
#if REPLACE_FUNC_STAT_DIR