summaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.c b/src/debug.c
index 1dbcb17..b5ea511 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -121,7 +121,7 @@ main(int argc, char *argv[])
HDexit(4);
}
- } else if (sig[0] == H5O_VERSION && sig[1] == H5O_ALIGNMENT) {
+ } else if (sig[0] == H5O_VERSION) {
/*
* This could be an object header. Since they don't have a signature
* it's a somewhat "ify" detection.
@@ -154,5 +154,5 @@ main(int argc, char *argv[])
HDexit(5);
}
H5Fclose(fid);
- HDexit(0);
+ return 0;
}