Hi Mike,
Mike Frysinger wrote:
looks like the new version introduced a typo in the lseek function in the io.c
file ... ive fixed that and touched up the mkdosfs.c file to pull in
linux/types.h as it uses __u* types which are found in that header
Applied, thanks.
Regards
Greg
------------------------------------------------------------------------
Index: user/dosfstools/dosfsck/io.c
===================================================================
RCS file: /var/cvs/uClinux-dist/user/dosfstools/dosfsck/io.c,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 io.c
--- user/dosfstools/dosfsck/io.c 1 Feb 2007 13:37:11 -0000 1.1.1.2
+++ user/dosfstools/dosfsck/io.c 5 Feb 2007 03:59:38 -0000
@@ -55,7 +55,7 @@ static loff_t llseek( int fd, loff_t off
static int _llseek(uint fd, ulong hi, ulong lo,
loff_t *res, uint wh)
{
- return syscall(__NR__llseek, fd, hi, log, res, wh);
+ return syscall(__NR__llseek, fd, hi, lo, res, wh);
}
static loff_t llseek( int fd, loff_t offset, int whence )
Index: user/dosfstools/mkdosfs/mkdosfs.c
===================================================================
RCS file: /var/cvs/uClinux-dist/user/dosfstools/mkdosfs/mkdosfs.c,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 mkdosfs.c
--- user/dosfstools/mkdosfs/mkdosfs.c 1 Feb 2007 13:37:12 -0000 1.1.1.2
+++ user/dosfstools/mkdosfs/mkdosfs.c 5 Feb 2007 03:59:39 -0000
@@ -50,6 +50,7 @@
#include "../version.h"
#include <fcntl.h>
+#include <linux/types.h>
#include <linux/hdreg.h>
#include <linux/fs.h>
#include <linux/fd.h>
------------------------------------------------------------------------
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
SnapGear -- a Secure Computing Company PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev