Cast void * pointer to char * so the arg matches the %s format.
Sponsored by: Netflix
This commit is contained in:
parent
b21ed88a41
commit
6f1066fa3c
@ -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 New Issue
Block a user