summaryrefslogtreecommitdiff
path: root/m4/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'm4/path.c')
-rw-r--r--m4/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/path.c b/m4/path.c
index 0858cfdf..6f47ff6b 100644
--- a/m4/path.c
+++ b/m4/path.c
@@ -101,7 +101,7 @@ search_path_env_init (m4__search_path_info *info, char *path, bool isabs)
do
{
- path_end = strchr (path, ':');
+ path_end = strchr (path, PATH_SEPARATOR);
if (path_end)
*path_end = '\0';
if (!isabs || *path == '/')