sed: fix panic printf format
* sed/utils.c (ck_fwrite): %jd → %td for idx_t. This matters for i686.
This commit is contained in:
1 parent
c1fc247803
commit
de39cf77c0
1 file changed
+2
-2
+2
-2
@@ -245,8 +245,8 @@ ck_fwrite (const void *ptr, idx_t size, idx_t nmemb, FILE *stream)
|
||||
{
|
||||
clearerr (stream);
|
||||
if (size && fwrite (ptr, size, nmemb, stream) != nmemb)
|
||||
panic (ngettext ("couldn't write %jd item to %s: %s",
|
||||
"couldn't write %jd items to %s: %s", nmemb),
|
||||
panic (ngettext ("couldn't write %td item to %s: %s",
|
||||
"couldn't write %td items to %s: %s", nmemb),
|
||||
nmemb, quotef (utils_fp_name (stream)),
|
||||
strerror (errno));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user