Skip to content
This repository was archived by the owner on Jan 17, 2019. It is now read-only.

Commit 3e848fe

Browse files
authored
Merge pull request #97 from akloniex/fix-formatting
logger: Fix formatting of line number value.
2 parents 3c59e53 + 932f09f commit 3e848fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rmbox/logger_convert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static void print_entry_params(FILE *out_fd, struct dma_log dma_log,
112112
if (dt < 0 || dt > 1000.0 * 1000.0 * 1000.0)
113113
dt = NAN;
114114

115-
fprintf(out_fd, "%s%5u %6u %8s %16.6f %16.6f %20s:%u\t",
115+
fprintf(out_fd, "%s%5u %6u %8s %16.6f %16.6f %20s:%-4u\t",
116116
entry.header.level == LOG_LEVEL_CRITICAL ? KRED : KNRM,
117117
dma_log.header.core_id,
118118
entry.header.level,

0 commit comments

Comments
 (0)