[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix a few typos
|
From: |
Sergio Durigan Junior |
|
Subject: |
[PATCH] Fix a few typos |
|
Date: |
Sat, 27 Feb 2021 18:04:34 -0500 |
These typos were caught when running lintian during the Debian
packaging of poke.
Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
---
libpoke/pkl-trans.c | 2 +-
poke/pk-cmd-def.c | 2 +-
poke/pk-cmd-misc.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libpoke/pkl-trans.c b/libpoke/pkl-trans.c
index c0237787..b7f82621 100644
--- a/libpoke/pkl-trans.c
+++ b/libpoke/pkl-trans.c
@@ -1025,7 +1025,7 @@ PKL_PHASE_BEGIN_HANDLER (pkl_trans1_ps_array)
if ((int64_t) initializer_index < 0)
{
PKL_ERROR (PKL_AST_LOC (initializer_index_node),
- "array dimentions may not be negative");
+ "array dimensions may not be negative");
PKL_TRANS_PAYLOAD->errors++;
PKL_PASS_ERROR;
}
diff --git a/poke/pk-cmd-def.c b/poke/pk-cmd-def.c
index fe9d7c4c..b6a63384 100644
--- a/poke/pk-cmd-def.c
+++ b/poke/pk-cmd-def.c
@@ -162,7 +162,7 @@ const struct pk_cmd info_var_cmd =
const struct pk_cmd info_fun_cmd =
{"functions", "", "", 0, NULL, pk_cmd_info_fun,
- "info funtions", NULL};
+ "info functions", NULL};
const struct pk_cmd info_types_cmd =
{"types", "", "", 0, NULL, pk_cmd_info_types,
diff --git a/poke/pk-cmd-misc.c b/poke/pk-cmd-misc.c
index 4d9f43bd..f13bf185 100644
--- a/poke/pk-cmd-misc.c
+++ b/poke/pk-cmd-misc.c
@@ -146,7 +146,7 @@ pk_cmd_jmd (int argc, struct pk_cmd_arg argv[], uint64_t
uflags)
"<jmd> I thought I'd just poke my nose in here and see what's "
"going on.",
"[jmd wonders if jemarch has \"export EDITOR=poke\" in his .bashrc]",
- "<jmd> everytime I type \"killall -11 poke\", poke segfaults.",
+ "<jmd> every time I type \"killall -11 poke\", poke segfaults.",
"<jemarch> a bugfix a day keeps jmd away",
"<jmd> Did you know that \"Poke\" is a Hawaiian salad?",
"<jmd> I never place periods after my strncpy.",
--
2.29.2
- [PATCH] Fix a few typos,
Sergio Durigan Junior <=