From 88ab4b144bcf8454be9eff8800706c0abb404de1 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Tue, 9 Jul 2019 12:07:41 -0500 Subject: fix var name --- testpar/t_mpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testpar/t_mpi.c b/testpar/t_mpi.c index 157a09f..41acf7a 100644 --- a/testpar/t_mpi.c +++ b/testpar/t_mpi.c @@ -460,7 +460,7 @@ static int test_mpio_1wMr(char *filename, int special_request) { /* show the hostname so that we can tell where the processes are running */ if (VERBOSE_DEF) { #ifdef H5_HAVE_GETHOSTNAME - if(HDgethostname(hostname, sizeof(host_name)) < 0) { + if(HDgethostname(hostname, sizeof(hostname)) < 0) { printf("gethostname failed\n"); hostname[0] = '\0'; } -- cgit v0.12