From: krw Date: Sun, 14 Aug 2016 21:07:40 +0000 (+0000) Subject: Another %qd -> %lld + (long long) for off_t's. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9b1b334b1bb32144967c86ce8f21feb1f98d71ea;p=openbsd Another %qd -> %lld + (long long) for off_t's. --- diff --git a/bin/df/df.c b/bin/df/df.c index 7eb8fc31bd5..981f64340f9 100644 --- a/bin/df/df.c +++ b/bin/df/df.c @@ -1,4 +1,4 @@ -/* $OpenBSD: df.c,v 1.58 2016/03/14 14:44:03 mmcc Exp $ */ +/* $OpenBSD: df.c,v 1.59 2016/08/14 21:07:40 krw Exp $ */ /* $NetBSD: df.c,v 1.21.2.1 1995/11/01 00:06:11 jtc Exp $ */ /* @@ -444,8 +444,8 @@ bread(int rfd, off_t off, void *buf, int cnt) if ((nr = pread(rfd, buf, cnt, off)) != cnt) { /* Probably a dismounted disk if errno == EIO. */ if (errno != EIO) - (void)fprintf(stderr, "\ndf: %qd: %s\n", - off, strerror(nr > 0 ? EIO : errno)); + (void)fprintf(stderr, "\ndf: %lld: %s\n", + (long long)off, strerror(nr > 0 ? EIO : errno)); return (0); } return (1);