summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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;
}