Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2017 19:09:40 +0000 (UTC)
From:      Ryan Libby <rlibby@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323714 - head/sys/compat/linsysfs
Message-ID:  <201709181909.v8IJ9eYK004834@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rlibby
Date: Mon Sep 18 19:09:40 2017
New Revision: 323714
URL: https://svnweb.freebsd.org/changeset/base/323714

Log:
  linsysfs: quiet gcc -Wformat after r323692
  
  Reviewed by:	cem
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sys/compat/linsysfs/linsysfs.c

Modified: head/sys/compat/linsysfs/linsysfs.c
==============================================================================
--- head/sys/compat/linsysfs/linsysfs.c	Mon Sep 18 18:44:45 2017	(r323713)
+++ head/sys/compat/linsysfs/linsysfs.c	Mon Sep 18 19:09:40 2017	(r323714)
@@ -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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709181909.v8IJ9eYK004834>