diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/kat.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -44,11 +44,7 @@ static void process(const char *fname) { exit(1); } - if (map->sb.st_size >= 0) { - for (size_t i = 0; i < (size_t)map->sb.st_size; i++) { - putchar(map->addr[i]); - } - } + fwrite(map->addr, 1, map->sb.st_size, stdout); close_map(map); } |