diff options
author | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-13 22:17:22 +0200 |
---|---|---|
committer | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-13 22:17:26 +0200 |
commit | 57c7abbd3c3b30086a5503a8017748caaf47084c (patch) | |
tree | f0538d08fbb5ba9f96fcd383b737383fac39bb1e /src | |
parent | 8ebc1e27f7a19091515b8de742d486698dae4d6e (diff) |
tak: use fwrite
Diffstat (limited to 'src')
-rw-r--r-- | src/tak.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ int entry_tak(int argc, char **argv) { lstart++; } - printf("%.*s\n", lend - lstart + 1, lstart); + fwrite(lstart, 1, lend - lstart + 2, stdout); lend = lstart-1; } |