mirror_zfs/tests/zfs-tests/cmd/file
Tony Hutter 81c62bc9e5 GCC 15: Fix unterminated-string-initialization (#17244)
Fix build errors on Fedora 42 like:

  module/zcommon/zfs_valstr.c:193:16: error: initializer-string for
  array of 'char' truncates NUL terminator but destination lacks
  'nonstring' attribute (3 chars into 2 available)

The arrays in zpool_vdev_os.c and zfs_valstr.c don't need to be
NULL terminated, but we do so to make GCC happy.

Closes: #17242

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
2025-05-27 15:03:11 -07:00
..
file_append.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
file_check.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
file_common.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
file_fadvise.c Fix unchecked return values and unused return values 2022-09-23 16:52:03 -07:00
file_trunc.c Miscellaneous ZTS fixes 2022-09-29 08:56:42 -07:00
file_write.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
largest_file.c GCC 15: Fix unterminated-string-initialization (#17244) 2025-05-27 15:03:11 -07:00
randfree_file.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
randwritecomp.c Miscellaneous ZTS fixes 2022-09-29 08:56:42 -07:00