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) {
|
if (desc->d_unit <= 0) {
|
||||||
printf("hostdisk_open: couldn't open %s: %d\n",
|
printf("hostdisk_open: couldn't open %s: %d\n",
|
||||||
desc->d_opendata, desc->d_unit);
|
(char *)desc->d_opendata, desc->d_unit);
|
||||||
return (ENOENT);
|
return (ENOENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user