aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/hostio.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/hostio.cc')
-rw-r--r--gdbserver/hostio.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/hostio.cc b/gdbserver/hostio.cc
index 05f2c4e..8b4d74d 100644
--- a/gdbserver/hostio.cc
+++ b/gdbserver/hostio.cc
@@ -504,7 +504,7 @@ handle_stat (char *own_buf, int *new_packet_len)
return;
}
- if (lstat (filename, &st) == -1)
+ if (stat (filename, &st) == -1)
{
hostio_error (own_buf);
return;