Skip to content

Commit

Permalink
clamonacc/inotif/inotif.c: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
liushuyu committed Jul 11, 2024
1 parent f80eba7 commit 7b9eef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clamonacc/inotif/inotif.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ int onas_ddd_init(uint64_t nwatches, size_t ht_size)
if (ret < 0) return CL_EREAD;

tmp = strtol(nwatch_str, &p, 10);
if (tmp < 0 || tmp == LONG_MAX){
if (tmp < 0 || tmp == LONG_MAX) {
/*Seems like a sane value (also the value on my ubuntu system)*/
nwatches = 0x10000;
} else {
Expand Down

0 comments on commit 7b9eef7

Please sign in to comment.