summaryrefslogtreecommitdiffstats
path: root/tools/h5ls/h5ls.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-02-24 15:53:42 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-02-24 15:53:42 (GMT)
commit67a1e576db7e4e1075b3f181fe40abff8c73b095 (patch)
treea4d3e7cc015480073db8bc566fc33c0766519f53 /tools/h5ls/h5ls.c
parent827cbbba318e64d81c60647c815c46d18dc529e1 (diff)
downloadhdf5-67a1e576db7e4e1075b3f181fe40abff8c73b095.zip
hdf5-67a1e576db7e4e1075b3f181fe40abff8c73b095.tar.gz
hdf5-67a1e576db7e4e1075b3f181fe40abff8c73b095.tar.bz2
[svn-r21983] Correct HD prefix in tools
Checked for HD support.
Diffstat (limited to 'tools/h5ls/h5ls.c')
-rw-r--r--tools/h5ls/h5ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c
index 905f10c..6337231 100644
--- a/tools/h5ls/h5ls.c
+++ b/tools/h5ls/h5ls.c
@@ -3352,8 +3352,8 @@ get_width(void)
/* Try to get it from the COLUMNS environment variable first since it's
* value is sometimes wrong. */
- if ((s=getenv("COLUMNS")) && *s && isdigit((int)*s))
- width = (int)strtol(s, NULL, 0);
+ if ((s=HDgetenv("COLUMNS")) && *s && isdigit((int)*s))
+ width = (int)HDstrtol(s, NULL, 0);
#if defined(H5_HAVE_STRUCT_VIDEOCONFIG) && defined(H5_HAVE__GETVIDEOCONFIG)
{