diff --git a/sys/compat/linsysfs/linsysfs.c b/sys/compat/linsysfs/linsysfs.c index d171d9e2f49..45b69f6f6c0 100644 --- a/sys/compat/linsysfs/linsysfs.c +++ b/sys/compat/linsysfs/linsysfs.c @@ -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); }