aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/gdb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 97f5fbf..10e3676 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -98,7 +98,7 @@ int gdb_get_char(connection_t *connection, int* next_char)
case WSAECONNABORTED:
return ERROR_SERVER_REMOTE_CLOSED;
default:
- ERROR("read: %d", strerror(errno));
+ ERROR("read: %d", errno);
exit(-1);
}
#else