diff options
Diffstat (limited to 'sysutils/dd_rescue/files/patch-dd_rescue.c')
-rw-r--r-- | sysutils/dd_rescue/files/patch-dd_rescue.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sysutils/dd_rescue/files/patch-dd_rescue.c b/sysutils/dd_rescue/files/patch-dd_rescue.c deleted file mode 100644 index 3d619647b7a4..000000000000 --- a/sysutils/dd_rescue/files/patch-dd_rescue.c +++ /dev/null @@ -1,16 +0,0 @@ ---- dd_rescue.c.orig 2012-05-20 05:46:14.000000000 +0900 -+++ dd_rescue.c 2012-06-02 22:24:44.000000000 +0900 -@@ -1194,11 +1194,11 @@ - ipos = 0; - - #ifdef O_DIRECT -- if (posix_memalign(&mp, pagesize, softbs)) { -+ buf = malloc(softbs); -+ if (!buf) { - fplog(stderr, "dd_rescue: (fatal): allocation of aligned buffer failed!\n"); - cleanup(); exit(18); - } -- buf = mp; - #else - buf = malloc(softbs); - if (!buf) { |