aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfdio.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-05-19 08:50:32 +0930
committerAlan Modra <amodra@gmail.com>2020-05-19 10:51:04 +0930
commit39a1432c09fd0242a0c832b0db04b6a71adea254 (patch)
treec71a8e2a46097ee87d016113133ecc050816d50d /bfd/bfdio.c
parent3ecde599184e6bde325c5e671b1c6a61c4f090de (diff)
downloadgdb-39a1432c09fd0242a0c832b0db04b6a71adea254.zip
gdb-39a1432c09fd0242a0c832b0db04b6a71adea254.tar.gz
gdb-39a1432c09fd0242a0c832b0db04b6a71adea254.tar.bz2
win32 typo fix
PR 25713 * bfdio.c (_bfd_real_fopen): Typo fix.
Diffstat (limited to 'bfd/bfdio.c')
-rw-r--r--bfd/bfdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfdio.c b/bfd/bfdio.c
index bba8d89..0133b76 100644
--- a/bfd/bfdio.c
+++ b/bfd/bfdio.c
@@ -130,7 +130,7 @@ _bfd_real_fopen (const char *filename, const char *modes)
strcat (fullpath, filename);
/* Convert any UNIX style path separators into the DOS form. */
- for (i = 0, fullpath[i]; i++)
+ for (i = 0; fullpath[i]; i++)
{
if (IS_UNIX_DIR_SEPARATOR (fullpath[i]))
fullpath[i] = '\\';