fix var name

This commit is contained in:
Allen Byrne 2019-07-09 12:07:41 -05:00
parent f241ff8ad9
commit 88ab4b144b

View File

@ -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';
}