summaryrefslogtreecommitdiff
path: root/gcc/prefix.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r--gcc/prefix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c
index e37f69be1ad..687d559949c 100644
--- a/gcc/prefix.c
+++ b/gcc/prefix.c
@@ -330,7 +330,7 @@ update_path (path, key)
do {
if (*new_path == '/')
*new_path = DIR_SEPARATOR;
- } while (*newpath++);
+ } while (*new_path++);
}
#endif