mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
* src/fiemap.h (struct fiemap.fm_extents): Change size to 1.
This is for portability to non-GCC C89 and C99 compilers. Original problem, on NonStop, reported by Joachim Schmitz in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9077>.
This commit is contained in:
1 parent
be6120b5cc
commit
feb0b08c0d
1 file changed
+3
-2
+3
-2
@@ -51,8 +51,9 @@ struct fiemap
|
||||
|
||||
uint32_t fm_reserved;
|
||||
|
||||
/* Array of mapped extents(out). */
|
||||
struct fiemap_extent fm_extents[0];
|
||||
/* Array of mapped extents(out).
|
||||
The actual size is given by fm_extent_count. */
|
||||
struct fiemap_extent fm_extents[1];
|
||||
};
|
||||
|
||||
/* The maximum offset can be mapped for a file. */
|
||||
|
||||
Reference in new issue
Block a user