summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
Diffstat (limited to 'testpar')
-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 48d0cc1..70a76ec 100644
--- a/testpar/t_mpi.c
+++ b/testpar/t_mpi.c
@@ -455,7 +455,7 @@ 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(hostname)) < 0) {
+ if (gethostname(hostname, sizeof(hostname)) < 0) {
printf("gethostname failed\n");
hostname[0] = '\0';
}