pgbackrest.git / summary / log / commit / refs
commit 7f1817c8adea02e58af3ae82044e8e91e6f2c4f4
Author: David Steele <david@pgmasters.net>
Date: Tue Mar 17 15:43:38 2020 +0000
Fix typos.
src/common/type/variant.c | 2 +-
src/common/type/variant.h | 2 +-
src/storage/storage.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/common/type/variant.c b/src/common/type/variant.c
index 1146ec5cd..6da4fd7f2 100644
--- a/src/common/type/variant.c
+++ b/src/common/type/variant.c
@@ -887,7 +887,7 @@ varNewUInt64(uint64_t data)
}
/***********************************************************************************************************************************
-Return int64
+Return uint64
***********************************************************************************************************************************/
uint64_t
varUInt64(const Variant *this)
diff --git a/src/common/type/variant.h b/src/common/type/variant.h
index 899267867..aea0f111f 100644
--- a/src/common/type/variant.h
+++ b/src/common/type/variant.h
@@ -96,7 +96,7 @@ void varFree(Variant *this);
Fields that are common between dynamically allocated and constant variants
There is nothing user-accessible here but this construct allows constant variants to be created and then handled by the same
-functions that process dynamically allocated variant.
+functions that process dynamically allocated variants.
***********************************************************************************************************************************/
#define VARIANT_COMMON \
VariantType type; /* Variant type */
diff --git a/src/storage/storage.h b/src/storage/storage.h
index 40437a7c4..da24f0dfd 100644
--- a/src/storage/storage.h
+++ b/src/storage/storage.h
@@ -42,7 +42,7 @@ typedef enum
// will need to checked after write to see if it is different.
storageFeatureCompress,
- // Does the storage support hardlinks? Hardlinks allow the same file to linked into multiple paths to save space.
+ // Does the storage support hardlinks? Hardlinks allow the same file to be linked into multiple paths to save space.
storageFeatureHardLink,
// Does the storage support symlinks? Symlinks allow paths/files/links to be accessed from another path.
[parent: 9a47b88da3ef]