From 7b0ba7c28a45dd75550850c96a645d46569afa1b Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Thu, 14 Sep 2023 12:45:32 -0400 Subject: That's embarrassing --- src/basic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic.c b/src/basic.c index 9c71374..d61e875 100644 --- a/src/basic.c +++ b/src/basic.c @@ -108,7 +108,7 @@ ssize_t zx81_basic_dump(int fd, FILE *stream) { break; } - if (printf("%d ", (int)be16toh(line.num)) < 0) { + if (fprintf(stream, "%d ", (int)be16toh(line.num)) < 0) { goto error_io; } -- cgit v1.2.3