summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2010-08-17 15:56:40 -0700
committerDima Zavin <dima@android.com>2010-08-17 15:57:55 -0700
commita716190241da07f42cf874b04bf044261f36381c (patch)
tree6fb82682708512110ac0118603056ba94cc1c351
parent52e7d3d91ab6a5bab77c5dfb1ed47381fd52f9ba (diff)
downloadbionic-a716190241da07f42cf874b04bf044261f36381c.zip
bionic-a716190241da07f42cf874b04bf044261f36381c.tar.gz
bionic-a716190241da07f42cf874b04bf044261f36381c.tar.bz2
linker: fix overwriting the real linker error string
Change-Id: Ia9165fd9aa1951b2bb81d0ac8f5bb3057aded8bd Signed-off-by: Dima Zavin <dima@android.com>
-rw-r--r--linker/linker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker.c b/linker/linker.c
index 89586eb..15a22f8 100644
--- a/linker/linker.c
+++ b/linker/linker.c
@@ -2040,7 +2040,7 @@ static int link_image(soinfo *si, unsigned wr_offset)
return 0;
fail:
- DL_ERR("failed to link %s\n", si->name);
+ ERROR("failed to link %s\n", si->name);
si->flags |= FLAG_ERROR;
return -1;
}