aboutsummaryrefslogtreecommitdiff
path: root/libiberty/testsuite/test-pexecute.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/testsuite/test-pexecute.c')
-rw-r--r--libiberty/testsuite/test-pexecute.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libiberty/testsuite/test-pexecute.c b/libiberty/testsuite/test-pexecute.c
index c67bcef..dfb5413 100644
--- a/libiberty/testsuite/test-pexecute.c
+++ b/libiberty/testsuite/test-pexecute.c
@@ -208,11 +208,12 @@ main (int argc, char **argv)
do \
{ \
int err; \
+ const char *pex_run_err; \
if (trace) \
fprintf (stderr, "Line %d: running %s %s\n", \
__LINE__, EXECUTABLE, ARGV[0]); \
- const char *pex_run_err = pex_run (PEXOBJ, FLAGS, EXECUTABLE, \
- ARGV, OUTNAME, ERRNAME, &err); \
+ pex_run_err = pex_run (PEXOBJ, FLAGS, EXECUTABLE, ARGV, OUTNAME, \
+ ERRNAME, &err); \
if (pex_run_err != NULL) \
FATAL_ERROR (pex_run_err, err); \
} \