fixed blacklist.c

This commit is contained in:
ciccio87 2013-08-17 08:13:01 +02:00
parent b90a901684
commit 4f860d66db
1 changed files with 1 additions and 1 deletions

View File

@ -124,6 +124,6 @@ int blacklist_init_from_files(char *whitelist_filename, char *blacklist_filename
constraint_optimize(constraint);
uint64_t allowed = blacklist_count_allowed();
log_debug("blacklist", "%lu addresses allowed to be scanned (%0.0f%% of address space)",
allowed, allowed*100./(1L << (int)sizeof(long)*4));
allowed, allowed*100./((long long int)1 << 32));
return 0;
}