diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-11 12:29:23 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-11 12:29:23 +0100 |
commit | 407f9b8fde3ad9cc55f39f7a548cde6056dab494 (patch) | |
tree | 0375ea8ddab3502bf6883066f43fc7e328d5c704 /package/hdparm/patches/patch-fallocate_c | |
parent | 2ecefcf609e484d04d1546581191831e07ad71ec (diff) | |
parent | abb858ae43374dc13a5fcef19b9e0ba9442013bb (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); |