canplayer: remove fprint_long_canframe usage

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
This commit is contained in:
Oliver Hartkopp
2024-02-27 11:04:42 +01:00
parent 9d900f913c
commit 48e10c9c57
+4 -1
View File
@@ -485,8 +485,11 @@ int main(int argc, char **argv)
}
if (verbose) {
static char abuf[10000]; /* ASCII buf FIXME - use calculated value */
printf("%s (%s) ", get_txname(device), device);
fprint_long_canframe(stdout, &frame, "\n", CANLIB_VIEW_INDENT_SFF);
sprint_long_canframe(abuf, &frame, CANLIB_VIEW_INDENT_SFF);
printf("%s\n", abuf);
}
if (count && (--count == 0))