Skip to content

Commit

Permalink
maybe make clang-format happy
Browse files Browse the repository at this point in the history
  • Loading branch information
franziskuskiefer committed Sep 19, 2024
1 parent 72563a3 commit 8f23a83
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libcrux-ml-kem/cg/fuzz/mkcorpus.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ void write_blob(const char *path, int n, const char *suffix, const void *p,
FILE *f;

snprintf(name, sizeof(name), "%s/%06d.%s", path, n, suffix);
if ((f = fopen(name, "wb+")) == NULL)
if ((f = fopen(name, "wb+")) == NULL) {
err(1, "fopen %s", name);
if (fwrite(p, l, 1, f) != 1)
}
if (fwrite(p, l, 1, f) != 1) {
err(1, "write %s", name);
}
fclose(f);
}

Expand Down

0 comments on commit 8f23a83

Please sign in to comment.