mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Ensure that the -s flag truncates the accounting data.
This problem has only been reported on the amd64 platform. PR: bin/120293 Tested by: Callum Gibson MFC after: 2 weeks
This commit is contained in:
parent
5b7a04161d
commit
1dc2c6a592
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ db_copy_in(DB **mdb, const char *dbname, const char *uname, BTREEINFO *bti,
|
|||
if (iflag)
|
||||
return (0);
|
||||
|
||||
if ((ddb = dbopen(dbname, O_RDONLY, 0, DB_BTREE, NULL)) == NULL) {
|
||||
if ((ddb = dbopen(dbname, O_RDONLY, 0, DB_BTREE, bti)) == NULL) {
|
||||
if (errno == ENOENT)
|
||||
return (0);
|
||||
warn("retrieving %s summary", uname);
|
||||
|
|
|
|||
Loading…
Reference in a new issue