Merge pull request #203 from uglym8/fix_disk_logging

Fix error format
This commit is contained in:
Karl Mikaelsson 2017-11-28 14:59:20 +01:00 committed by GitHub
commit 1f0b60a405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
disk.c
View File

@ -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);
} }