summaryrefslogtreecommitdiffstats
path: root/contrib/csup/proto.c
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2008-11-20 12:52:07 +0000
committerlulf <lulf@FreeBSD.org>2008-11-20 12:52:07 +0000
commita2a32c1acdf5c1c77d49af9f9bc16e198160c809 (patch)
tree9f5bc214a44d621c0bb3d0ef7ad4f120551bf62b /contrib/csup/proto.c
parentfb66787b9acf96b57104fb0c08c19208b648f868 (diff)
downloadFreeBSD-src-a2a32c1acdf5c1c77d49af9f9bc16e198160c809.zip
FreeBSD-src-a2a32c1acdf5c1c77d49af9f9bc16e198160c809.tar.gz
- Fix build with GNU make.
- Fix compiler warnings and symbol overlaps. - Don't build code that is not used yet. - Fix types and format strings.
Diffstat (limited to 'contrib/csup/proto.c')
-rw-r--r--contrib/csup/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/csup/proto.c b/contrib/csup/proto.c
index fd574b0..04d6256 100644
--- a/contrib/csup/proto.c
+++ b/contrib/csup/proto.c
@@ -805,7 +805,7 @@ proto_printf(struct stream *wr, const char *format, ...)
break;
case 'O':
off = va_arg(ap, off_t);
- rv = stream_printf(wr, "%lu", off);
+ rv = stream_printf(wr, "%llu", off);
break;
case 'S':
s = va_arg(ap, char *);
OpenPOWER on IntegriCloud