summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorManuel Novoa III2004-02-01 07:34:28 +0000
committerManuel Novoa III2004-02-01 07:34:28 +0000
commit083862228a3da88c6890a1a4beba5355367dfd2e (patch)
tree69ff24c91f560274610ae2a689a79f26a05e9059 /coreutils
parent24cb17f9be9d44358965e8723aac1ec7e1b122d2 (diff)
downloadbusybox-083862228a3da88c6890a1a4beba5355367dfd2e.zip
busybox-083862228a3da88c6890a1a4beba5355367dfd2e.tar.gz
Use bb_xstrdup() instead of strdup().
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;
}