From 02747ea647d300f9ce24801e508b720c0c9cc2ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Thu, 26 Oct 2017 10:33:29 +0200 Subject: [PATCH] Aligned internal log buffers on CPUs which require them The generic buffer structure should respect the alignment of included log structures. This is required by some CPUs (such as Sparc). --- ntfsprogs/ntfsrecover.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ntfsprogs/ntfsrecover.h b/ntfsprogs/ntfsrecover.h index 0e8ba2bf..adf03e35 100644 --- a/ntfsprogs/ntfsrecover.h +++ b/ntfsprogs/ntfsrecover.h @@ -79,6 +79,7 @@ struct BUFFER { unsigned int headsz; BOOL safe; union { + u64 alignment; RESTART_PAGE_HEADER restart; RECORD_PAGE_HEADER record; char data[1];