summaryrefslogtreecommitdiff
path: root/gcc/ada/g-stseme.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-24 16:59:24 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-24 16:59:24 +0000
commit852d863251678efbec4d238761802d76036da273 (patch)
tree2f2116a515aa85c2d441a1bd3a95f391271295e9 /gcc/ada/g-stseme.adb
parent8ac60950725426d4b69f04ebd603e8a83274a1f4 (diff)
downloadgcc-852d863251678efbec4d238761802d76036da273.tar.gz
2014-02-24 Thomas Quinot <quinot@adacore.com>
* g-stheme.adb, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads, g-stseme.adb, g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads, g-socket.adb (Host_Error_Message): Return a string, not a chars_ptr, because on Windows this is a renaming of Socket_Error_Message. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208082 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-stseme.adb')
-rw-r--r--gcc/ada/g-stseme.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/g-stseme.adb b/gcc/ada/g-stseme.adb
index 40e7c495af3..2b6aeeb4856 100644
--- a/gcc/ada/g-stseme.adb
+++ b/gcc/ada/g-stseme.adb
@@ -44,5 +44,5 @@ function Socket_Error_Message
(Errno : Integer) return String
is
begin
- return Errno_Message (Errno, Default => Unknown_System_Error);
+ return Errno_Message (Errno, Default => "Unknown system error");
end Socket_Error_Message;