]> git.wh0rd.org Git - patches.git/blob - uclinux-dosfstools-headers.patch
initial import
[patches.git] / uclinux-dosfstools-headers.patch
1 Index: user/dosfstools/dosfsck/io.c
2 ===================================================================
3 RCS file: /var/cvs/uClinux-dist/user/dosfstools/dosfsck/io.c,v
4 retrieving revision 1.1.1.2
5 diff -u -p -r1.1.1.2 io.c
6 --- user/dosfstools/dosfsck/io.c        1 Feb 2007 13:37:11 -0000       1.1.1.2
7 +++ user/dosfstools/dosfsck/io.c        5 Feb 2007 03:59:38 -0000
8 @@ -55,7 +55,7 @@ static loff_t llseek( int fd, loff_t off
9  static int _llseek(uint fd, ulong hi, ulong lo,
10                   loff_t *res, uint wh)
11  {
12 -    return syscall(__NR__llseek, fd, hi, log, res, wh);
13 +    return syscall(__NR__llseek, fd, hi, lo, res, wh);
14  }
15  
16  static loff_t llseek( int fd, loff_t offset, int whence )
17 Index: user/dosfstools/mkdosfs/mkdosfs.c
18 ===================================================================
19 RCS file: /var/cvs/uClinux-dist/user/dosfstools/mkdosfs/mkdosfs.c,v
20 retrieving revision 1.1.1.2
21 diff -u -p -r1.1.1.2 mkdosfs.c
22 --- user/dosfstools/mkdosfs/mkdosfs.c   1 Feb 2007 13:37:12 -0000       1.1.1.2
23 +++ user/dosfstools/mkdosfs/mkdosfs.c   5 Feb 2007 03:59:39 -0000
24 @@ -50,6 +50,7 @@
25  #include "../version.h"
26  
27  #include <fcntl.h>
28 +#include <linux/types.h>
29  #include <linux/hdreg.h>
30  #include <linux/fs.h>
31  #include <linux/fd.h>