Skip to content

Commit 33f765f

Browse files
rddunlapjwessel
authored andcommitted
kdb: bl: don't use tab character in output
The "bl" (list breakpoints) command prints a '\t' (tab) character in its output, but on a console (video device), that just prints some odd graphics character. Instead of printing a tab character, just align the output with spaces. Signed-off-by: Randy Dunlap <[email protected]> Cc: Daniel Thompson <[email protected]> Cc: Jason Wessel <[email protected]> Cc: [email protected] Signed-off-by: Jason Wessel <[email protected]>
1 parent b0f73bc commit 33f765f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/debug/kdb/kdb_bp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,11 @@ static void kdb_printbp(kdb_bp_t *bp, int i)
242242
kdb_symbol_print(bp->bp_addr, NULL, KDB_SP_DEFAULT);
243243

244244
if (bp->bp_enabled)
245-
kdb_printf("\n is enabled");
245+
kdb_printf("\n is enabled ");
246246
else
247247
kdb_printf("\n is disabled");
248248

249-
kdb_printf("\taddr at %016lx, hardtype=%d installed=%d\n",
249+
kdb_printf(" addr at %016lx, hardtype=%d installed=%d\n",
250250
bp->bp_addr, bp->bp_type, bp->bp_installed);
251251

252252
kdb_printf("\n");

0 commit comments

Comments
 (0)