summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/syscall.c2
-rw-r--r--xlators/features/index/src/index.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/libglusterfs/src/syscall.c b/libglusterfs/src/syscall.c
index a619f9c41a6..117fa209e21 100644
--- a/libglusterfs/src/syscall.c
+++ b/libglusterfs/src/syscall.c
@@ -120,7 +120,7 @@ sys_rename (const char *oldpath, const char *newpath)
int
sys_link (const char *oldpath, const char *newpath)
{
-#ifdef HAVE_LINKAT
+#ifdef HAVE_LINKAT
/* see HAVE_LINKAT in xlators/storage/posix/src/posix.c */
return linkat (AT_FDCWD, oldpath, AT_FDCWD, newpath, 0);
#else
diff --git a/xlators/features/index/src/index.c b/xlators/features/index/src/index.c
index 6c634dd9ad1..4ba72c02234 100644
--- a/xlators/features/index/src/index.c
+++ b/xlators/features/index/src/index.c
@@ -409,7 +409,8 @@ sync_base_indices (void *index_priv)
#ifdef HAVE_LINKAT
/* see HAVE_LINKAT in xlators/storage/posix/src/posix.c */
- ret = linkat (AT_FDCWD, xattrop_index_path, AT_FDCWD, base_index_path, 0);
+ ret = linkat (AT_FDCWD, xattrop_index_path,
+ AT_FDCWD, base_index_path, 0);
#else
ret = link (xattrop_index_path, base_index_path);
#endif