aboutsummaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
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;
}