ChangeLog, partinfo.c:
The ioctl BLKGETSIZE requires a long, not an int.
diff --git a/misc/ChangeLog b/misc/ChangeLog
index 0c778e9..83b99c7 100644
--- a/misc/ChangeLog
+++ b/misc/ChangeLog
@@ -1,3 +1,8 @@
+Sun Mar 8 22:21:48 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * partinfo.c (main): The ioctl BLKGETSIZE requires a long, not an
+ int.
+
Sun Feb 1 16:53:36 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
* badblocks.8: Update documentation to note that output format
diff --git a/misc/partinfo.c b/misc/partinfo.c
index 1e3e064..c85f30e 100644
--- a/misc/partinfo.c
+++ b/misc/partinfo.c
@@ -24,7 +24,8 @@
int main(int argc, char **argv)
{
struct hd_geometry loc;
- int fd, size, i;
+ int fd, i;
+ long size;
if (argc == 1) {
fprintf(stderr, "Usage: %s <dev1> <dev2> <dev3>\n\n"