ctf_xfer_partial: Return TARGET_XFER_E_IO instead of -1 on error
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 27 Oct 2015 02:00:41 +0000 (22:00 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 27 Oct 2015 02:01:45 +0000 (22:01 -0400)
commitc92444842b32533b6411230e3554509a09924163
tree05fd2a3e5d1087617f7b2eec50a7ad58b73125ed
parent6780fe1095bf34f92f89a831a577d42b311a6a9f
ctf_xfer_partial: Return TARGET_XFER_E_IO instead of -1 on error

Use the enum value instead of the corresponding int value.

gdb/ChangeLog:

* ctf.c (ctf_xfer_partial): Return TARGET_XFER_E_IO instead of
-1 on error.
gdb/ChangeLog
gdb/ctf.c