diff options
author | Omar Polo <op@omarpolo.com> | 2024-09-01 07:55:10 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-09-01 07:55:10 +0000 |
commit | cd8152228007bfec3679ebb2e7c127b2a3fa48b6 (patch) | |
tree | 4d1dced0cdb7f51b5a9670b2aef465798bd9ddc7 /parse.y | |
parent | 2f6e84dbe3e976b47041aca07521ee5572d909a9 (diff) |
spell "nam" with the "e"; from codespell
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |