summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Mikaelsson <derfian@cendio.se>2017-11-28 14:59:20 +0100
committerGitHub <noreply@github.com>2017-11-28 14:59:20 +0100
commit1f0b60a405471929b7ef3b9fd74efd16a801fee0 (patch)
treec1b7ae08f642b7657fa822d659714d4faff722fd
parent45d625b20e1bf5c4769f287d92a000c4b400502e (diff)
parent948831a3fd9805c53a29f0a30391f16e63262b23 (diff)
downloadrdesktop-1f0b60a405471929b7ef3b9fd74efd16a801fee0.zip
Merge pull request #203 from uglym8/fix_disk_logging
Fix error format
-rw-r--r--disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk.c b/disk.c
index fdc0a9e..7350fed 100644
--- a/disk.c
+++ b/disk.c
@@ -505,8 +505,8 @@ disk_create(uint32 device_id, uint32 accessmask, uint32 sharemode, uint32 create
if (handle >= MAX_OPEN_FILES)
{
logger(Disk, Error,
- "disk_create(), maximum number of open files (%s) reached, increase MAX_OPEN_FILES!",
- handle);
+ "disk_create(), handle (%d) is greater than or equal to MAX_OPEN_FILES (%d)!",
+ handle, MAX_OPEN_FILES);
exit(EX_SOFTWARE);
}