mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Cast void * pointer to char * so the arg matches the %s format.
Sponsored by: Netflix
This commit is contained in:
parent
b21ed88a41
commit
6f1066fa3c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326492
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue