summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXANTRONIX Development2023-09-14 12:45:32 -0400
committerXANTRONIX Development2023-09-14 12:45:32 -0400
commit7b0ba7c28a45dd75550850c96a645d46569afa1b (patch)
tree0b0fd5e2d09b69842dc3e4f81adb5550155db33c /src
parent36248d304d0cd340a36617e890ac2fd541ad2563 (diff)
downloadzxdump-main.tar.gz
zxdump-main.tar.bz2
zxdump-main.zip
That's embarrassingHEADmain
Diffstat (limited to 'src')
-rw-r--r--src/basic.c2
1 files changed, 1 insertions, 1 deletions
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;
}