From a1304f494ac428155b0d125ef1050361917acc38 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 7 Feb 2019 11:28:04 -0600 Subject: [PATCH] tools/lowhex.c: Fix an initialization problem that was causing some odd behavior at the beginning of lines. --- tools/lowhex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lowhex.c b/tools/lowhex.c index e4428bc69b..093e2dd0d7 100644 --- a/tools/lowhex.c +++ b/tools/lowhex.c @@ -112,7 +112,7 @@ int main(int argc, char **argv) /* Search for a '0x' that preceding some delimiting character */ delimited = true; - inhex = true; + inhex = false; for (i = 0; i < LINESIZE && g_line[i] != '\n' && g_line[i] != '\0';