GCC 9.0: Fix ztest "directive argument is not a nul-terminated string"
commitcaacc6e4c4006b95a1ad118b50dbf1422ca3f053
authorTony Hutter <hutter2@llnl.gov>
Wed, 23 Jan 2019 19:17:52 +0000 (23 11:17 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 28 Jan 2019 18:11:45 +0000 (28 10:11 -0800)
tree6581073e82cd4b2ad05bd2679bfeb9a4048e5ea9
parent26a856594f731db62446cf537659f9360261fe97
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