From 7800dd5d51eb91ef4b2d9f727b47edccf93bc0eb Mon Sep 17 00:00:00 2001 From: Sergey Litvinov Date: Wed, 22 May 2024 09:37:16 -0400 Subject: [PATCH] off: fix an error message --- lib/off.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/off.c b/lib/off.c index 3274b804f..59b027d0d 100644 --- a/lib/off.c +++ b/lib/off.c @@ -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];