linker: fix overwriting the real linker error string

Change-Id: Ia9165fd9aa1951b2bb81d0ac8f5bb3057aded8bd
Signed-off-by: Dima Zavin <dima@android.com>
This commit is contained in:
Dima Zavin 2010-08-17 15:56:40 -07:00
parent 52e7d3d91a
commit a716190241

View File

@ -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;
}