summaryrefslogtreecommitdiffstats
path: root/apps/compare_to_value.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/compare_to_value.c')
-rw-r--r--apps/compare_to_value.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/compare_to_value.c b/apps/compare_to_value.c
index b6df9c0..e1082ce 100644
--- a/apps/compare_to_value.c
+++ b/apps/compare_to_value.c
@@ -47,6 +47,7 @@ int main(int argc, char *argv[]) {
num = fread(buf, 4, size, f);
if (num != size) {
printf("Only %lu of %lu dwords in the file\n", num, size);
+ exit(1);
}
fclose(f);