commit db110c100aa41ddad498d85c6ffd537f9d7d5aca
parent c14172d9472f2d53300a19b3fa27ddcbaba185d6
Author: sin <sin@2f30.org>
Date: Sun, 12 May 2019 19:37:09 +0100
Fix comment
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/bcompress.c b/bcompress.c
@@ -64,7 +64,7 @@ struct cd {
uint64_t size;
};
-/* Read compression descriptor */
+/* Unpack compression descriptor */
static int
unpackcd(void *buf, struct cd *cd)
{
@@ -79,7 +79,7 @@ unpackcd(void *buf, struct cd *cd)
return n;
}
-/* Write compression descriptor */
+/* Pack compression descriptor */
static int
packcd(void *buf, struct cd *cd)
{
diff --git a/bencrypt.c b/bencrypt.c
@@ -64,7 +64,7 @@ struct ed {
unsigned char nonce[crypto_aead_xchacha20poly1305_ietf_NPUBBYTES];
};
-/* Read encryption descriptor */
+/* Unpack encryption descriptor */
static int
unpacked(void *buf, struct ed *ed)
{
@@ -80,7 +80,7 @@ unpacked(void *buf, struct ed *ed)
return n;
}
-/* Write encryption descriptor */
+/* Pack encryption descriptor */
static int
packed(void *buf, struct ed *ed)
{
diff --git a/bstorage.c b/bstorage.c
@@ -137,7 +137,7 @@ unpackbhdr(unsigned char *buf, struct bhdr *bhdr)
return n;
}
-/* Write block header */
+/* Pack block header */
static int
packbhdr(unsigned char *buf, struct bhdr *bhdr)
{