[1/2] fdtgrep: fix typos in error output

Message ID 20200108203516.22268-1-agust@denx.de
State New
Headers show
Series
  • [1/2] fdtgrep: fix typos in error output
Related show

Commit Message

Anatolij Gustschin Jan. 8, 2020, 8:35 p.m.
Fix function name and parenthesis.

Signed-off-by: Anatolij Gustschin <agust at denx.de>
---
 tools/fdtgrep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Glass Jan. 9, 2020, 8:04 p.m. | #1
On Thu, 9 Jan 2020 at 09:35, Anatolij Gustschin <agust at denx.de> wrote:
>
> Fix function name and parenthesis.
>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  tools/fdtgrep.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Patch

diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c
index 8f44f599c1..052d419692 100644
--- a/tools/fdtgrep.c
+++ b/tools/fdtgrep.c
@@ -824,7 +824,7 @@  static int do_fdtgrep(struct display_info *disp, const char *filename)
 		if (count <= max_regions)
 			break;
 		free(region);
-		fprintf(stderr, "Internal error with fdtgrep_find_region)(\n");
+		fprintf(stderr, "Internal error with fdtgrep_find_regions()\n");
 		return -1;
 	}