summaryrefslogtreecommitdiff
path: root/db/hsearch
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-08-23 10:09:13 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-08-23 10:09:13 +0200
commita8997f47160741d2c8be553748791bc83a7b5db1 (patch)
tree1f248149bb4dd63631809a5b998af1a746ef1423 /db/hsearch
parent2a98ab385d543741a41642ebea5a7d3f763c23d1 (diff)
downloadlibrpm-tizen-a8997f47160741d2c8be553748791bc83a7b5db1.tar.gz
librpm-tizen-a8997f47160741d2c8be553748791bc83a7b5db1.tar.bz2
librpm-tizen-a8997f47160741d2c8be553748791bc83a7b5db1.zip
Use (xxx->open)() to work-around glibc's open() behaving having changed.
Diffstat (limited to 'db/hsearch')
-rw-r--r--db/hsearch/hsearch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/hsearch/hsearch.c b/db/hsearch/hsearch.c
index 4a750a25a..3bb0a4d50 100644
--- a/db/hsearch/hsearch.c
+++ b/db/hsearch/hsearch.c
@@ -75,7 +75,7 @@ __db_hcreate(nel)
if ((ret = dbp->set_pagesize(dbp, 512)) != 0 ||
(ret = dbp->set_h_ffactor(dbp, 16)) != 0 ||
(ret = dbp->set_h_nelem(dbp, (u_int32_t)nel)) != 0 ||
- (ret = dbp->open(dbp, NULL,
+ (ret = (dbp->open)(dbp, NULL,
NULL, NULL, DB_HASH, DB_CREATE, __db_omode(OWNER_RW))) != 0)
__os_set_errno(ret);