summaryrefslogtreecommitdiffstats
path: root/src/file_bac.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2022-04-13 09:20:45 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2022-04-13 09:20:45 +0200
commit305d71ea0a542f40d5c01573643a457747cc60a0 (patch)
tree77470fd224293c22623e36bf1684715fef5c625c /src/file_bac.c
parent952415ee990f17fed58ba22ca0d3f86fad38ff2b (diff)
Use "DISABLED_FOR_FRAMAC" to disable code to facilitate verificationHEADmaster
using frama-c
Diffstat (limited to 'src/file_bac.c')
-rw-r--r--src/file_bac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_bac.c b/src/file_bac.c
index 211d60c..0b5b333 100644
--- a/src/file_bac.c
+++ b/src/file_bac.c
@@ -85,7 +85,7 @@ static data_check_t data_check_bac(const unsigned char *buffer, const unsigned i
#endif
if(memcmp(hdr->ID, "BB02", 4)!=0 || block_size<0x18)
{
-#ifndef __FRAMAC__
+#ifndef DISABLED_FOR_FRAMAC
log_error("file_bac.c: invalid block at %llu\n",
(long long unsigned)file_recovery->calculated_file_size);
#endif