Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 63e61626c1e052c55d76861b771eda6602a14477 1 parent 1537893
@dougmencken dougmencken authored Carmelo Amoroso committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  ldso/ldso/ldso.c
View
1  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;
Please sign in to comment.
Something went wrong with that request. Please try again.