diff options
Diffstat (limited to 'RPM4/src/RPM4.xs')
-rw-r--r-- | RPM4/src/RPM4.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index 99c251e..6d95edb 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -1371,7 +1371,7 @@ rpmdbinit(rootdir = NULL) /* rpm{db,ts}init is deprecated, we open a database with create flags * and close it */ /* 0 on success */ - RETVAL = rpmtsOpenDB(ts, O_RDWR | O_CREAT); + RETVAL = rpmtsInitDB(ts, 0644); ts = rpmtsFree(ts); OUTPUT: RETVAL |