mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
fix compiler warning turned error on NetBSD
This commit is contained in:
@ -484,7 +484,7 @@ void sync_fuzzers(afl_state_t *afl) {
|
|||||||
DIR * sd;
|
DIR * sd;
|
||||||
struct dirent *sd_ent;
|
struct dirent *sd_ent;
|
||||||
u32 sync_cnt = 0, synced = 0, entries = 0;
|
u32 sync_cnt = 0, synced = 0, entries = 0;
|
||||||
u8 path[PATH_MAX + 256];
|
u8 path[PATH_MAX + 1 + NAME_MAX];
|
||||||
|
|
||||||
sd = opendir(afl->sync_dir);
|
sd = opendir(afl->sync_dir);
|
||||||
if (!sd) { PFATAL("Unable to open '%s'", afl->sync_dir); }
|
if (!sd) { PFATAL("Unable to open '%s'", afl->sync_dir); }
|
||||||
|
Reference in New Issue
Block a user