summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2007-01-26 17:02:27 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2007-01-26 17:02:27 (GMT)
commit2b3806581140d25541e35a464304bd16d12b6995 (patch)
tree16e0c592b3df4e1324bd597f723d36a9b0d1411d
parent5c6e54bea27304377f60f817716dcc3b8dbe5a80 (diff)
downloadhdf5-2b3806581140d25541e35a464304bd16d12b6995.zip
hdf5-2b3806581140d25541e35a464304bd16d12b6995.tar.gz
hdf5-2b3806581140d25541e35a464304bd16d12b6995.tar.bz2
[svn-r13206] Fixed a couple of typos in debug output that were causing warnings.
Not tested; trivial change only in debugging code.
-rwxr-xr-xsrc/H5SM.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5SM.c b/src/H5SM.c
index 2b61b84..e28bf40 100755
--- a/src/H5SM.c
+++ b/src/H5SM.c
@@ -1664,11 +1664,11 @@ H5SM_table_debug(H5F_t *f, hid_t dxpl_id, haddr_t table_addr,
*/
if(table_vers == UFAIL)
table_vers = f->shared->sohm_vers;
- else if(table_vers = f->shared->sohm_vers)
+ else if(table_vers != f->shared->sohm_vers)
HDfprintf(stream, "*** SOHM TABLE VERSION DOESN'T MATCH VERSION IN SUPERBLOCK!\n");
if(num_indexes == UFAIL)
num_indexes = f->shared->sohm_nindexes;
- else if(num_indexes = f->shared->sohm_nindexes)
+ else if(num_indexes != f->shared->sohm_nindexes)
HDfprintf(stream, "*** NUMBER OF SOHM INDEXES DOESN'T MATCH VALUE IN SUPERBLOCK!\n");
/* Check arguments. Version must be 0, the only version implemented so far */