diff options
author | Leah Rowe <leah@libreboot.org> | 2023-05-16 11:36:26 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-05-16 23:11:35 +0100 |
commit | c23806e1f6aa197aba32d51d59461e4ace3e92ec (patch) | |
tree | bca76f033d2f6e9ca3cad4f5e33ecb4802e6459a /util/spkmodem_recv/spkmodem-recv.c | |
parent | 0cc23b23637620f03fe71562f8859371661d0bef (diff) |
util/spkmodem_recv: Use correct printf specifier
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/spkmodem_recv/spkmodem-recv.c')
-rw-r--r-- | util/spkmodem_recv/spkmodem-recv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/spkmodem_recv/spkmodem-recv.c b/util/spkmodem_recv/spkmodem-recv.c index 6d37ff44..05729d11 100644 --- a/util/spkmodem_recv/spkmodem-recv.c +++ b/util/spkmodem_recv/spkmodem-recv.c @@ -68,7 +68,7 @@ print_chars(void) long stdin_pos = 0; if ((stdin_pos = ftell(stdin)) == -1) err(errno, NULL); - printf ("%d %d %d @%d\n", f1, f2, FREQ_DATA_THRESHOLD, + printf ("%d %d %d @%ld\n", f1, f2, FREQ_DATA_THRESHOLD, stdin_pos - sizeof(frame)); #endif if (f1 < FREQ_DATA_THRESHOLD) |