aboutsummaryrefslogtreecommitdiff
path: root/gprof/search_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/search_list.c')
-rw-r--r--gprof/search_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/search_list.c b/gprof/search_list.c
index d475dbf..ca29289 100644
--- a/gprof/search_list.c
+++ b/gprof/search_list.c
@@ -15,7 +15,7 @@ DEFUN (search_list_append, (list, paths),
do
{
beg = colon + 1;
- colon = strchr (beg, ':');
+ colon = strchr (beg, PATH_SEP_CHAR);
if (colon)
{
len = colon - beg;