diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-28 17:30:36 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-28 17:30:36 +0100 |
commit | 89551d9a7633d83d45fb22316153dee7cd898fbc (patch) | |
tree | fe55cf46df70e534a912831f3288bd9b2400835f /package/hdparm/patches/patch-fallocate_c | |
parent | 320e16528ea6a9eba54bac0161e2331093075647 (diff) | |
parent | 7051ba973da28f456659ced479c731a61a624a85 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/hdparm/patches/patch-fallocate_c')
-rw-r--r-- | package/hdparm/patches/patch-fallocate_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/hdparm/patches/patch-fallocate_c b/package/hdparm/patches/patch-fallocate_c new file mode 100644 index 000000000..b826cdeba --- /dev/null +++ b/package/hdparm/patches/patch-fallocate_c @@ -0,0 +1,11 @@ +--- hdparm-9.43.orig/fallocate.c 2010-10-04 21:38:39.000000000 +0200 ++++ hdparm-9.43/fallocate.c 2013-12-26 10:25:40.000000000 +0100 +@@ -27,7 +27,7 @@ int do_fallocate_syscall (const char *pa + err = EINVAL; + #else + int fd; +- loff_t offset = 0, len; ++ off_t offset = 0, len; + int mode = 0; + + fd = open(path, O_WRONLY|O_CREAT|O_EXCL, 0600); |