From 99b92e4d722c825b0a8cb2a9a84d9cd6023d2e26 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Fri, 28 Oct 2005 20:36:30 +0000 Subject: - Add extra patch to fix functionality under > 4.x (disk usage would always show 0) - Bump PORTREVISION PR: 88151 Submitted by: Serge Gagnon --- sysutils/disktool/files/extrapatch-disktool.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sysutils/disktool/files/extrapatch-disktool.c (limited to 'sysutils/disktool/files/extrapatch-disktool.c') diff --git a/sysutils/disktool/files/extrapatch-disktool.c b/sysutils/disktool/files/extrapatch-disktool.c new file mode 100644 index 000000000000..c769cc803d7e --- /dev/null +++ b/sysutils/disktool/files/extrapatch-disktool.c @@ -0,0 +1,15 @@ +--- disktool.c.orig Fri Oct 28 14:10:55 2005 ++++ disktool.c Fri Oct 28 14:13:09 2005 +@@ -168,9 +168,9 @@ + } + + /* ==========================================================================*/ +-long kbytes(blocks, blocksize) +- long blocks; +- long blocksize; ++int64_t kbytes(blocks, blocksize) ++ int64_t blocks; ++ uint64_t blocksize; + { + /* Return number of kilobytes given the number of blocks and the block size. + This isn't quite trivial because a 32 bit signed long integer could easily -- cgit v1.2.3