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);
        }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to