linsysfs: quiet gcc -Wformat after r323692

Reviewed by:	cem
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Ryan Libby 2017-09-18 19:09:40 +00:00
parent 1ab9094c90
commit 2e6418c0c5

View file

@ -136,7 +136,7 @@ linsysfs_link_scsi_host(PFS_FILL_ARGS)
static int
linsysfs_fill_data(PFS_FILL_ARGS)
{
sbuf_printf(sb, "%s", pn->pn_data);
sbuf_printf(sb, "%s", (char *)pn->pn_data);
return (0);
}