aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-02-01 07:34:28 +0000
committermjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-02-01 07:34:28 +0000
commitc44720e82e172053176597838d0e6c56ab9961c8 (patch)
tree69ff24c91f560274610ae2a689a79f26a05e9059
parente51384120ec91fab27ae6f503dc24cd64cadb072 (diff)
downloadbusybox-w32-c44720e82e172053176597838d0e6c56ab9961c8.tar.gz
busybox-w32-c44720e82e172053176597838d0e6c56ab9961c8.tar.bz2
busybox-w32-c44720e82e172053176597838d0e6c56ab9961c8.zip
Use bb_xstrdup() instead of strdup().
git-svn-id: svn://busybox.net/trunk/busybox@8388 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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