aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 82cca9ed..e3ab52eb 100644
--- a/eval.c
+++ b/eval.c
@@ -1021,7 +1021,7 @@ void
unset_ERRNO(void)
{
unref(ERRNO_node->var_value);
- ERRNO_node->var_value = Nnull_string;
+ ERRNO_node->var_value = dupnode(Nnull_string);
}
/* update_NR --- update the value of NR */