Fix error format
This commit is contained in:
parent
45d625b20e
commit
948831a3fd
4
disk.c
4
disk.c
@ -505,8 +505,8 @@ disk_create(uint32 device_id, uint32 accessmask, uint32 sharemode, uint32 create
|
|||||||
if (handle >= MAX_OPEN_FILES)
|
if (handle >= MAX_OPEN_FILES)
|
||||||
{
|
{
|
||||||
logger(Disk, Error,
|
logger(Disk, Error,
|
||||||
"disk_create(), maximum number of open files (%s) reached, increase MAX_OPEN_FILES!",
|
"disk_create(), handle (%d) is greater than or equal to MAX_OPEN_FILES (%d)!",
|
||||||
handle);
|
handle, MAX_OPEN_FILES);
|
||||||
exit(EX_SOFTWARE);
|
exit(EX_SOFTWARE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user