summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-12-06 16:25:51 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-12-06 16:25:51 (GMT)
commitc15315539b27acfc4a15a84bff7a8f3d7a5daccb (patch)
treefa4f5792c777d4002c299645d44c343876813e23
parenta5ba6ac3977d660d3122387ad470374c0b2bfbc6 (diff)
downloadhdf5-c15315539b27acfc4a15a84bff7a8f3d7a5daccb.zip
hdf5-c15315539b27acfc4a15a84bff7a8f3d7a5daccb.tar.gz
hdf5-c15315539b27acfc4a15a84bff7a8f3d7a5daccb.tar.bz2
[svn-r14324] bug fix: #786 (E3) h5dump refers to the user block as "boot block"
replaced usage message with "super block" tested: linux
-rw-r--r--tools/h5dump/h5dump.c8
-rw-r--r--tools/testfiles/tnofilename.ddl2
2 files changed, 5 insertions, 5 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c
index 28534bf..dc5fa3c 100644
--- a/tools/h5dump/h5dump.c
+++ b/tools/h5dump/h5dump.c
@@ -610,7 +610,7 @@ usage(const char *prog)
fprintf(stdout, " OPTIONS\n");
fprintf(stdout, " -h, --help Print a usage message and exit\n");
fprintf(stdout, " -n, --contents Print a list of the file contents and exit\n");
- fprintf(stdout, " -B, --bootblock Print the content of the boot block\n");
+ fprintf(stdout, " -B, --superblock Print the content of the super block\n");
fprintf(stdout, " -H, --header Print the header only; no data is displayed\n");
fprintf(stdout, " -A, --onlyattr Print the header and value of attributes\n");
fprintf(stdout, " -i, --object-ids Print the object ids\n");
@@ -2756,7 +2756,7 @@ static void
dump_fcpl(hid_t fid)
{
hid_t fcpl; /* file creation property list ID */
- hid_t fapl; /* file access property list ID */
+ hid_t fapl; /* file access property list ID */
hsize_t userblock; /* userblock size retrieved from FCPL */
size_t off_size; /* size of offsets in the file */
size_t len_size; /* size of lengths in the file */
@@ -2764,7 +2764,7 @@ dump_fcpl(hid_t fid)
unsigned freelist; /* free list version # */
unsigned stab; /* symbol table entry version # */
unsigned shhdr; /* shared object header version # */
- hid_t fdriver; /* file driver */
+ hid_t fdriver; /* file driver */
char dname[32]; /* buffer to store driver name */
unsigned sym_lk; /* symbol table B-tree leaf 'K' value */
unsigned sym_ik; /* symbol table B-tree internal 'K' value */
@@ -2781,7 +2781,7 @@ dump_fcpl(hid_t fid)
fdriver=H5Pget_driver(fapl);
H5Pclose(fapl);
- /*-------------------------------------------------------------------------
+ /*-------------------------------------------------------------------------
* SUPER_BLOCK
*-------------------------------------------------------------------------
*/
diff --git a/tools/testfiles/tnofilename.ddl b/tools/testfiles/tnofilename.ddl
index bae9f79..fada500 100644
--- a/tools/testfiles/tnofilename.ddl
+++ b/tools/testfiles/tnofilename.ddl
@@ -5,7 +5,7 @@ usage: h5dump [OPTIONS] file
OPTIONS
-h, --help Print a usage message and exit
-n, --contents Print a list of the file contents and exit
- -B, --bootblock Print the content of the boot block
+ -B, --superblock Print the content of the super block
-H, --header Print the header only; no data is displayed
-A, --onlyattr Print the header and value of attributes
-i, --object-ids Print the object ids