diff options
Diffstat (limited to 'gdbsupport/scoped_mmap.cc')
-rw-r--r-- | gdbsupport/scoped_mmap.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdbsupport/scoped_mmap.cc b/gdbsupport/scoped_mmap.cc index e4096da..08334d3 100644 --- a/gdbsupport/scoped_mmap.cc +++ b/gdbsupport/scoped_mmap.cc @@ -37,9 +37,10 @@ mmap_file (const char *filename) /* We can't map an empty file. */ if (size == 0) - error (_("file to mmap is empty")); + error (_ ("file to mmap is empty")); - scoped_mmap mmapped_file (nullptr, size, PROT_READ, MAP_PRIVATE, fd.get (), 0); + scoped_mmap mmapped_file (nullptr, size, PROT_READ, MAP_PRIVATE, fd.get (), + 0); if (mmapped_file.get () == MAP_FAILED) perror_with_name (("mmap")); |