]> granicus.if.org Git - zfs/commit
GCC 9.0: Fix ztest "directive argument is not a nul-terminated string"
authorTony Hutter <hutter2@llnl.gov>
Wed, 23 Jan 2019 19:17:52 +0000 (11:17 -0800)
committerTony Hutter <hutter2@llnl.gov>
Fri, 22 Feb 2019 17:47:34 +0000 (09:47 -0800)
commit2254b2bbbe17a1ad34b016d1605fea49c01461cf
treec2da36bd40fa01626bdaa117653503b7a103e9c7
parent5c4ec382a76c7c0d6b218fcab5a1c2e035012158
GCC 9.0: Fix ztest "directive argument is not a nul-terminated string"

GCC 9.0 is complaining because we're trying to print strings that
are defined like this:

.zo_pool = { 'z', 't', 'e', 's', 't', '\0' },

Fix them by making them actual strings.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #8330
cmd/ztest/ztest.c