Date: Sun, 3 Dec 2017 04:55:23 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326492 - head/stand/powerpc/kboot Message-ID: <201712030455.vB34tNqk056465@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Sun Dec 3 04:55:23 2017 New Revision: 326492 URL: https://svnweb.freebsd.org/changeset/base/326492 Log: Cast void * pointer to char * so the arg matches the %s format. Sponsored by: Netflix Modified: head/stand/powerpc/kboot/hostdisk.c Modified: head/stand/powerpc/kboot/hostdisk.c ============================================================================== --- head/stand/powerpc/kboot/hostdisk.c Sun Dec 3 04:55:19 2017 (r326491) +++ head/stand/powerpc/kboot/hostdisk.c Sun Dec 3 04:55:23 2017 (r326492) @@ -94,7 +94,7 @@ hostdisk_open(struct open_file *f, ...) if (desc->d_unit <= 0) { printf("hostdisk_open: couldn't open %s: %d\n", - desc->d_opendata, desc->d_unit); + (char *)desc->d_opendata, desc->d_unit); return (ENOENT); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712030455.vB34tNqk056465>