summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-07-09 17:07:41 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-07-09 17:07:41 (GMT)
commit88ab4b144bcf8454be9eff8800706c0abb404de1 (patch)
tree4dea4f12bddcd8dcd114a611173809bbdeda3686
parentf241ff8ad95b9087b6606d0d1698c14538c582a6 (diff)
downloadhdf5-88ab4b144bcf8454be9eff8800706c0abb404de1.zip
hdf5-88ab4b144bcf8454be9eff8800706c0abb404de1.tar.gz
hdf5-88ab4b144bcf8454be9eff8800706c0abb404de1.tar.bz2
fix var name
-rw-r--r--testpar/t_mpi.c2
1 files changed, 1 insertions, 1 deletions
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';
}