diff options
author | Douglas Mencken <dougmencken@gmail.com> | 2011-07-12 09:39:17 +0200 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2011-07-12 09:39:17 +0200 |
commit | 63e61626c1e052c55d76861b771eda6602a14477 (patch) | |
tree | b7b7a82e951c1f234695520e2291b222985e3ebb /ldso | |
parent | 1537893ad3e5196facdfcbdbdd4223293edfc46d (diff) |
ldso: fix build error due to missing variable 'st'
Fix a build error triggered when LDSO_PRELOAD_FILE_SUPPORT is enabled
due to missing definition of 'st' variable.
Signed-off-by: Douglas Mencken <dougmencken@gmail.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/ldso.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index 775acdd15..34597f5c5 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -887,6 +887,7 @@ of this helper program; chances are you did not intend to run this program.\n\ char *preload; int fd; char c, *cp, *cp2; + struct stat st; if (_dl_stat(LDSO_PRELOAD, &st) || st.st_size == 0) { break; |