mirror_zfs/cmd/zpool
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
..
compatibility.d Add compatibility file for GRUB versions up to v2.06 2024-11-05 15:43:52 -08:00
os GCC 15: Fix unterminated-string-initialization (#17244) 2025-05-27 15:03:11 -07:00
zpool.d zed: misc vdev_enc_sysfs_path fixes 2024-01-29 15:11:56 -08:00
Makefile.am Add compatibility file for GRUB versions up to v2.06 2024-11-05 15:43:52 -08:00
zpool_iter.c zpool: Add slot power control, print power status 2024-01-29 15:12:06 -08:00
zpool_main.c vdev probe to slow disk can stall mmp write checker 2024-04-30 10:01:15 -07:00
zpool_util.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_util.h zpool: Add slot power control, print power status 2024-01-29 15:12:06 -08:00
zpool_vdev.c zed: misc vdev_enc_sysfs_path fixes 2024-01-29 15:11:56 -08:00