aboutsummaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-09-01 07:55:10 +0000
committerOmar Polo <op@omarpolo.com>2024-09-01 07:55:10 +0000
commitcd8152228007bfec3679ebb2e7c127b2a3fa48b6 (patch)
tree4d1dced0cdb7f51b5a9670b2aef465798bd9ddc7 /parse.y
parent2f6e84dbe3e976b47041aca07521ee5572d909a9 (diff)
spell "nam" with the "e"; from codespell
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index fffee2a..d7018f6 100644
--- a/parse.y
+++ b/parse.y
@@ -1203,12 +1203,12 @@ cmdline_symset(char *s)
}
char *
-symget(const char *nam)
+symget(const char *name)
{
struct sym *sym;
TAILQ_FOREACH(sym, &symhead, entry) {
- if (strcmp(nam, sym->name) == 0) {
+ if (strcmp(name, sym->name) == 0) {
sym->used = 1;
return sym->val;
}