99b92e4d72
(disk usage would always show 0) - Bump PORTREVISION PR: 88151 Submitted by: Serge Gagnon <serge.gagnon@b2b2c.ca>
15 lines
511 B
C
15 lines
511 B
C
--- 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
|