diff options
author | Mattias Andrée <maandree@kth.se> | 2022-03-25 17:07:44 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-03-25 17:07:44 +0100 |
commit | f3c3f5f0c28320d638e988caf6a02abd1e2c70a4 (patch) | |
tree | 7e130ceb43826f573514367a0475745f42fa1503 /c | |
parent | Remove unnecessary call to close (diff) | |
download | sha3sum-f3c3f5f0c28320d638e988caf6a02abd1e2c70a4.tar.gz sha3sum-f3c3f5f0c28320d638e988caf6a02abd1e2c70a4.tar.bz2 sha3sum-f3c3f5f0c28320d638e988caf6a02abd1e2c70a4.tar.xz |
Style fix
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | common.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -322,7 +322,7 @@ check_checksums(const char *restrict filename, const struct libkeccak_spec *rest if (ptr + blksize > size) buf = erealloc(buf, size <<= 1); - got = read(fd, buf + ptr, blksize); + got = read(fd, &buf[ptr], blksize); if (got < 0) eperror(); if (!got) |