summaryrefslogtreecommitdiff
path: root/gdb/bfd-target.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/bfd-target.c')
-rw-r--r--gdb/bfd-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/bfd-target.c b/gdb/bfd-target.c
index 657de357d5f..41930ee5544 100644
--- a/gdb/bfd-target.c
+++ b/gdb/bfd-target.c
@@ -55,7 +55,7 @@ target_bfd_xfer_partial (struct target_ops *ops,
NULL);
}
default:
- return -1;
+ return TARGET_XFER_E_IO;
}
}