diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/spkmodem_recv/spkmodem-recv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/spkmodem_recv/spkmodem-recv.c b/util/spkmodem_recv/spkmodem-recv.c index 77d64637..b19c49a4 100644 --- a/util/spkmodem_recv/spkmodem-recv.c +++ b/util/spkmodem_recv/spkmodem-recv.c @@ -72,7 +72,7 @@ handle_audio(void) } if (llp == FLUSH_TIMEOUT) if (fflush(stdout) == EOF) - err(errno, NULL); + err(ERR(), NULL); if ((f2 <= FREQ_SEP_MIN) || (f2 >= FREQ_SEP_MAX) || (f1 <= FREQ_DATA_MIN) || (f1 >= FREQ_DATA_MAX)) { @@ -120,7 +120,7 @@ print_char(void) #if DEBUG long stdin_pos = 0; if ((stdin_pos = ftell(stdin)) == -1) - err(errno, NULL); + err(ERR(), NULL); printf ("%d %d %d @%ld\n", f1, f2, FREQ_DATA_THRESHOLD, stdin_pos - sizeof(frame)); #endif |