mirror of
https://github.com/owntracks/recorder.git
synced 2026-02-13 20:49:51 +00:00
print currently desired lmdb size in error that cache cannot be opened
addresses #480
This commit is contained in:
2
gcache.c
2
gcache.c
@@ -66,7 +66,7 @@ struct gcache *gcache_open(char *path, char *dbname, int rdonly)
|
||||
|
||||
rc = mdb_env_create(&gc->env);
|
||||
if (rc != 0) {
|
||||
olog(LOG_ERR, "gcache_open: mdb_env_create: %s", mdb_strerror(rc));
|
||||
olog(LOG_ERR, "gcache_open: mdb_env_create: %s (for %lu bytes)", mdb_strerror(rc), lmdb_size);
|
||||
free(gc);
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user