aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/filestuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbsupport/filestuff.cc')
-rw-r--r--gdbsupport/filestuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbsupport/filestuff.cc b/gdbsupport/filestuff.cc
index 1724bc5..9e61fea 100644
--- a/gdbsupport/filestuff.cc
+++ b/gdbsupport/filestuff.cc
@@ -517,7 +517,7 @@ read_text_file_to_string (const char *path)
std::string::size_type start_size = res.size ();
constexpr int chunk_size = 1024;
- /* Resize to accomodate CHUNK_SIZE bytes. */
+ /* Resize to accommodate CHUNK_SIZE bytes. */
res.resize (start_size + chunk_size);
int n = fread (&res[start_size], 1, chunk_size, file.get ());