Permalink
Browse files

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>
  • Loading branch information...
1 parent 1537893 commit 63e61626c1e052c55d76861b771eda6602a14477 @dougmencken dougmencken committed with Carmelo Amoroso Jul 12, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 ldso/ldso/ldso.c
View
@@ -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;

0 comments on commit 63e6162

Please sign in to comment.