aboutsummaryrefslogtreecommitdiffstats
path: root/lib/e2p/iod.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/e2p/iod.c')
-rw-r--r--lib/e2p/iod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/e2p/iod.c b/lib/e2p/iod.c
index 84c97094..2c675b9d 100644
--- a/lib/e2p/iod.c
+++ b/lib/e2p/iod.c
@@ -29,7 +29,7 @@ int iterate_on_dir (const char * dir_name,
struct dirent *de, *dep;
int max_len = -1, len, ret = 0;
-#if HAVE_PATHCONF && defined(_PC_NAME_MAX)
+#if HAVE_PATHCONF && defined(_PC_NAME_MAX)
max_len = pathconf(dir_name, _PC_NAME_MAX);
#endif
if (max_len == -1) {