aboutsummaryrefslogtreecommitdiff
path: root/coreutils/expr.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-02-01 07:34:28 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-02-01 07:34:28 +0000
commit083862228a3da88c6890a1a4beba5355367dfd2e (patch)
tree69ff24c91f560274610ae2a689a79f26a05e9059 /coreutils/expr.c
parent24cb17f9be9d44358965e8723aac1ec7e1b122d2 (diff)
downloadbusybox-w32-083862228a3da88c6890a1a4beba5355367dfd2e.tar.gz
busybox-w32-083862228a3da88c6890a1a4beba5355367dfd2e.tar.bz2
busybox-w32-083862228a3da88c6890a1a4beba5355367dfd2e.zip
Use bb_xstrdup() instead of strdup().
Diffstat (limited to 'coreutils/expr.c')
-rw-r--r--coreutils/expr.c2
1 files changed, 1 insertions, 1 deletions
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)
117 117
118 v = xmalloc (sizeof(VALUE)); 118 v = xmalloc (sizeof(VALUE));
119 v->type = string; 119 v->type = string;
120 v->u.s = strdup (s); 120 v->u.s = bb_xstrdup (s);
121 return v; 121 return v;
122} 122}
123 123