On Thu, 2006-May-25 23:10:42 +0200, Alain Knaff wrote:
I've made a new patch today, which is meant to address the issue.
http://mtools.linux.lu/mtools-3.9.10-20060525.diff.gz
The revised patch (10040 bytes) works with the addition of the attached
patch. Thank you very much.
------------------------------------------------------------------------
--- mformat.c~ Sat May 27 07:09:45 2006
+++ mformat.c Sat May 27 07:24:05 2006
@@ -689,6 +689,7 @@
exit(1);
}
+#ifdef OS_linux
static int get_block_geom(int fd, struct MT_STAT *buf, struct device *dev,
char *errmsg) {
struct hd_geometry geom;
@@ -733,6 +734,7 @@
size = dev->tracks * dev->heads * dev->sectors + dev->hidden;
return 0;
}
+#endif
void mformat(int argc, char **argv, int dummy)
{
------------------------------------------------------------------------