From 39a841cecf616098c9c8cf63bbfea5ea2922097c Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Thu, 29 Sep 2005 16:18:57 +0000 Subject: change interface to bb_xasprintf() - more perfect for me. ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum --- coreutils/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/expr.c') diff --git a/coreutils/expr.c b/coreutils/expr.c index 3f052d92a..969d9fff5 100644 --- a/coreutils/expr.c +++ b/coreutils/expr.c @@ -147,7 +147,7 @@ static int null (VALUE *v) static void tostring (VALUE *v) { if (v->type == integer) { - bb_xasprintf (&(v->u.s), "%d", v->u.i); + v->u.s = bb_xasprintf ("%d", v->u.i); v->type = string; } } -- cgit v1.2.3