diff --git a/src/elfxx.h b/src/elfxx.h index 7ca49594..6a1ca208 100644 --- a/src/elfxx.h +++ b/src/elfxx.h @@ -43,7 +43,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #endif static inline int -elf_map_image (struct elf_image *ei, char *path) +elf_map_image (struct elf_image *ei, const char *path) { struct stat stat; int fd;