diff options
author | XANTRONIX Development | 2023-09-14 12:45:32 -0400 |
---|---|---|
committer | XANTRONIX Development | 2023-09-14 12:45:32 -0400 |
commit | 7b0ba7c28a45dd75550850c96a645d46569afa1b (patch) | |
tree | 0b0fd5e2d09b69842dc3e4f81adb5550155db33c /src | |
parent | 36248d304d0cd340a36617e890ac2fd541ad2563 (diff) | |
download | zxdump-7b0ba7c28a45dd75550850c96a645d46569afa1b.tar.gz zxdump-7b0ba7c28a45dd75550850c96a645d46569afa1b.tar.bz2 zxdump-7b0ba7c28a45dd75550850c96a645d46569afa1b.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/basic.c | 2 |
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; } |