diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2004-02-01 07:34:28 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2004-02-01 07:34:28 +0000 |
commit | 083862228a3da88c6890a1a4beba5355367dfd2e (patch) | |
tree | 69ff24c91f560274610ae2a689a79f26a05e9059 /coreutils/expr.c | |
parent | 24cb17f9be9d44358965e8723aac1ec7e1b122d2 (diff) | |
download | busybox-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.c | 2 |
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 | ||