summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-05-31 00:51:48 +0000
committerJim Meyering <jim@meyering.net>1996-05-31 00:51:48 +0000
commit53e41464fd2798e3e0935019403b890e64b195e4 (patch)
tree3f73e0ef1a7cbbbfc3d2fbbdd01e765e5e12cf37
parent86f7daf5924b99075245110bcf5e50b2498f974c (diff)
downloadcoreutils-53e41464fd2798e3e0935019403b890e64b195e4.tar.xz
(decode_one_format): Use %lu (not %d) printf formats
corresponding to unsigned long, SIZE.
-rw-r--r--src/od.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/od.c b/src/od.c
index 1bcd957b7..856a837d7 100644
--- a/src/od.c
+++ b/src/od.c
@@ -734,7 +734,7 @@ decode_one_format (const char *s_orig, const char *s, const char **next,
|| integral_type_size[size] == NO_SIZE)
{
error (0, 0, _("invalid type string `%s';\n\
-this system doesn't provide a %d-byte integral type"), s_orig, size);
+this system doesn't provide a %lu-byte integral type"), s_orig, size);
return 1;
}
s = p;
@@ -847,7 +847,7 @@ this system doesn't provide a %d-byte integral type"), s_orig, size);
|| fp_type_size[size] == NO_SIZE)
{
error (0, 0, _("invalid type string `%s';\n\
-this system doesn't provide a %d-byte floating point type"), s_orig, size);
+this system doesn't provide a %lu-byte floating point type"), s_orig, size);
return 1;
}
s = p;