Skip to content

Commit

Permalink
off: fix an error message
Browse files Browse the repository at this point in the history
  • Loading branch information
slitvinov committed May 22, 2024
1 parent 6356a98 commit 7800dd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/off.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ read_binary(T * q, int Color, FILE * f)
for (i = j = 0; i < nt; i++) {
FREAD(1, &np);
big_endian_int(1, &np);
if (np != 3)
ERR(CO_IO, "np=%d != 3");
if (np != 3)
ERR(CO_IO, "np=%d != 3", np);
FREAD(3, ibuf);
big_endian_int(3, ibuf);
tri[j++] = ibuf[0];
Expand Down

0 comments on commit 7800dd5

Please sign in to comment.