aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/util.h4
-rw-r--r--tools/gpgtar-extract.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/common/util.h b/common/util.h
index 4e123776c..43cb2fd3e 100644
--- a/common/util.h
+++ b/common/util.h
@@ -329,8 +329,8 @@ void setup_libgcrypt_logging (void);
void xoutofcore (void);
/* Wrapper aroung gpgrt_reallocarray. Uses the gpgrt alloc function
- * which are redirect to the Libgcrypt versions via
- * init_common_subsystems. Thus they can be used interchangeable with
+ * which redirects to the Libgcrypt versions via
+ * init_common_subsystems. Thus this can be used interchangeable with
* the other alloc functions. */
void *xreallocarray (void *a, size_t oldnmemb, size_t nmemb, size_t size);
diff --git a/tools/gpgtar-extract.c b/tools/gpgtar-extract.c
index 3da100c07..584599e83 100644
--- a/tools/gpgtar-extract.c
+++ b/tools/gpgtar-extract.c
@@ -186,7 +186,7 @@ extract (estream_t stream, const char *dirname, tarinfo_t info,
|| !strncmp (hdr->name, "../", 3)
|| (n >= 3 && !strcmp (hdr->name+n-3, "/.." )))
{
- log_error ("filename '%s' as suspicious parts - not extracting\n",
+ log_error ("filename '%s' has suspicious parts - not extracting\n",
hdr->name);
return gpg_error (GPG_ERR_INV_NAME);
}