aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/libbfd.c')
-rw-r--r--bfd/libbfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libbfd.c b/bfd/libbfd.c
index 8665b23..75ce90e 100644
--- a/bfd/libbfd.c
+++ b/bfd/libbfd.c
@@ -263,7 +263,7 @@ DEFUN(bfd_seek,(abfd, position, direction),
BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR);
- if (direction == SEEK_SET && position == 0)
+ if (direction == SEEK_CUR && position == 0)
return 0;
#ifdef FILE_OFFSET_IS_CHAR_INDEX
if (direction == SEEK_SET && position == abfd->where)