[Pdbg] [PATCH 1/3] libpdbg: Fix a typo
Amitay Isaacs
amitay at ozlabs.org
Mon Feb 17 11:36:22 AEDT 2020
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
libpdbg/dtb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libpdbg/dtb.c b/libpdbg/dtb.c
index 57502c1..dc51334 100644
--- a/libpdbg/dtb.c
+++ b/libpdbg/dtb.c
@@ -262,7 +262,7 @@ static void mmap_dtb(char *file, bool readonly, struct pdbg_mfile *mfile)
else
dtb = mmap(NULL, statbuf.st_size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
if (dtb == MAP_FAILED) {
- pdbg_log(PDBG_ERROR, "Failed top mmap file '%s'\n", file);
+ pdbg_log(PDBG_ERROR, "Failed to mmap file '%s'\n", file);
goto fail;
}
--
2.24.1
More information about the Pdbg
mailing list