- WARN ((0, 0, _("%s is the wrong size (%ld != %ld + %ld)"),
- cursor->header.name, save_totsize,
- from_oct (1 + 12, cursor->header.size),
- from_oct (1 + 12, cursor->oldgnu_header.offset)));
+ char totsizebuf[UINTMAX_STRSIZE_BOUND];
+ char s1buf[UINTMAX_STRSIZE_BOUND];
+ char s2buf[UINTMAX_STRSIZE_BOUND];
+
+ WARN ((0, 0, _("%s is the wrong size (%s != %s + %s)"),
+ cursor->header.name,
+ STRINGIFY_BIGINT (save_totsize, totsizebuf),
+ STRINGIFY_BIGINT (s1, s1buf),
+ STRINGIFY_BIGINT (s2, s2buf)));