On Fri, Nov 20, 2009 at 09:41:14PM -0500, Mike Frysinger wrote: >ssize_t types are shown with %zd, not %ld. > >Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx> Yeah, looks good. Reviewed-by: WANG Cong <xiyou.wangcong@xxxxxxxxx> >--- > text-utils/tailf.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/text-utils/tailf.c b/text-utils/tailf.c >index ec6e1c4..75998ce 100644 >--- a/text-utils/tailf.c >+++ b/text-utils/tailf.c >@@ -106,7 +106,7 @@ roll_file(const char *filename, off_t *size) > while ((rc = read(fd, buf, sizeof(buf))) > 0) { > wc = write(STDOUT_FILENO, buf, rc); > if (rc != wc) >- warnx(_("incomplete write to \"%s\" (written %ld, expected %ld)\n"), >+ warnx(_("incomplete write to \"%s\" (written %zd, expected %zd)\n"), > filename, wc, rc); > } > fflush(stdout); >-- >1.6.5.2 > >-- >To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in >the body of a message to majordomo@xxxxxxxxxxxxxxx >More majordomo info at http://vger.kernel.org/majordomo-info.html -- Live like a child, think like the god. -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html