mirror_zfs/tests/zfs-tests
Tony Hutter 36864e3d77 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:59:45 -07:00
..
callbacks SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
cmd GCC 15: Fix unterminated-string-initialization (#17244) 2025-04-16 09:59:45 -07:00
include SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
tests Multiple printf() size fixes (#17199) 2025-04-16 09:59:45 -07:00
.gitignore autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
Makefile.am ZTS: reimplement kstat helper function 2025-02-25 22:28:14 +05:00