diff mbox series

[1/3] libpdbg: Fix a typo

Message ID 20200217003624.10741-2-amitay@ozlabs.org
State Accepted
Headers show
Series miscellaneous patches | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch warning Failed to apply on branch master (8b4611b5d8e7e2279fe4aa80c892fcfe10aa398d)
snowpatch_ozlabs/apply_patch fail Failed to apply to any branch

Commit Message

Amitay Isaacs Feb. 17, 2020, 12:36 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 libpdbg/dtb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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;
 	}