From 083862228a3da88c6890a1a4beba5355367dfd2e Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Sun, 1 Feb 2004 07:34:28 +0000 Subject: Use bb_xstrdup() instead of strdup(). --- coreutils/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils') diff --git a/coreutils/expr.c b/coreutils/expr.c index fdb4e3997..77d603b88 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; } -- cgit v1.2.3