diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sh/var.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/var.c b/bin/sh/var.c index ebeff16..d083523 100644 --- a/bin/sh/var.c +++ b/bin/sh/var.c @@ -328,7 +328,7 @@ setvareq(char *s, int flags) if (vp->flags & VREADONLY) { if ((flags & (VTEXTFIXED|VSTACK)) == 0) ckfree(s); - error("%.*s: is read only", vp->name_len, s); + error("%.*s: is read only", vp->name_len, vp->text); } if (flags & VNOSET) { if ((flags & (VTEXTFIXED|VSTACK)) == 0) |