mirror_zfs/cmd/zpool
Tony Hutter 155847c72d
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-04-16 09:33:29 -07:00
..
compatibility.d Update compatibility.d files 2024-10-02 20:59:35 -07:00
os GCC 15: Fix unterminated-string-initialization (#17244) 2025-04-16 09:33:29 -07:00
zpool.d zed: misc vdev_enc_sysfs_path fixes 2023-11-07 09:09:24 -08:00
Makefile.am Update compatibility.d files 2024-10-02 20:59:35 -07:00
zpool_iter.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zpool_main.c Added fix for zpool get state segfaults with two or more vdevs (#15972). (#17213) 2025-04-04 15:34:38 -07:00
zpool_util.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zpool_util.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zpool_vdev.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00