mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-08-04 15:49:42 +02: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:
+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