summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2015-01-13 14:40:45 +0200
committerJens Georg <mail@jensge.org>2016-01-17 22:30:42 +0100
commit400e0ade58ca96157b1ca0a85766c298edd3099b (patch)
treee45ace54404532db7b42d60f039d2eb4fa6d1df9
parentf08d2b333bed00191258ddc87653fd2a2972f887 (diff)
downloadrygel-400e0ade58ca96157b1ca0a85766c298edd3099b.tar.gz
lms: Fix database error code issue
-rw-r--r--src/plugins/lms/rygel-lms-database.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lms/rygel-lms-database.vala b/src/plugins/lms/rygel-lms-database.vala
index 53eb218d..e898d66e 100644
--- a/src/plugins/lms/rygel-lms-database.vala
+++ b/src/plugins/lms/rygel-lms-database.vala
@@ -107,7 +107,7 @@ public class Rygel.LMS.Database {
if (this.db.errcode () != Sqlite.OK) {
throw new DatabaseError.OPEN ("Failed to open '%s': %d",
db_path,
- this.db.errcode);
+ this.db.errcode () );
}
this.db.create_function ("contains",