From c15315539b27acfc4a15a84bff7a8f3d7a5daccb Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Thu, 6 Dec 2007 11:25:51 -0500 Subject: [svn-r14324] bug fix: #786 (E3) h5dump refers to the user block as "boot block" replaced usage message with "super block" tested: linux --- tools/h5dump/h5dump.c | 8 ++++---- tools/testfiles/tnofilename.ddl | 2 +- 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 -- cgit v0.12