mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
canplayer: remove fprint_long_canframe usage
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
This commit is contained in:
+4
-1
@@ -485,8 +485,11 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
|
static char abuf[10000]; /* ASCII buf FIXME - use calculated value */
|
||||||
|
|
||||||
printf("%s (%s) ", get_txname(device), device);
|
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))
|
if (count && (--count == 0))
|
||||||
|
|||||||
Reference in New Issue
Block a user