From 63e61626c1e052c55d76861b771eda6602a14477 Mon Sep 17 00:00:00 2001 From: Douglas Mencken Date: Tue, 12 Jul 2011 09:39:17 +0200 Subject: 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 Signed-off-by: Carmelo Amoroso --- ldso/ldso/ldso.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ldso/ldso') 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; -- cgit v1.2.3