summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/expr.c b/coreutils/expr.c
index fdb4e39..77d603b 100644
--- a/coreutils/expr.c
+++ b/coreutils/expr.c
@@ -117,7 +117,7 @@ static VALUE *str_value (char *s)
v = xmalloc (sizeof(VALUE));
v->type = string;
- v->u.s = strdup (s);
+ v->u.s = bb_xstrdup (s);
return v;
}