linsysfs: quiet gcc -Wformat after r323692

Reviewed by:	cem
Sponsored by:	Dell EMC Isilon
This commit is contained in:
rlibby 2017-09-18 19:09:40 +00:00
parent ed6e49bd21
commit 10c470434c

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);
}