diff options
Diffstat (limited to 'examples/zigcrypto_test.zig')
| -rw-r--r-- | examples/zigcrypto_test.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/zigcrypto_test.zig b/examples/zigcrypto_test.zig index 9c966ac..9340f99 100644 --- a/examples/zigcrypto_test.zig +++ b/examples/zigcrypto_test.zig | |||
| @@ -34,7 +34,7 @@ pub fn main() anyerror!void { | |||
| 34 | const result = sqlite.c.sqlite3_load_extension(db.db, extension_path, null, &pzErrMsg); | 34 | const result = sqlite.c.sqlite3_load_extension(db.db, extension_path, null, &pzErrMsg); |
| 35 | if (result != sqlite.c.SQLITE_OK) { | 35 | if (result != sqlite.c.SQLITE_OK) { |
| 36 | const err = sqlite.c.sqlite3_errstr(result); | 36 | const err = sqlite.c.sqlite3_errstr(result); |
| 37 | std.debug.panic("unable to load extension, err: {s}, err message: {s}\n", .{ err, std.mem.sliceTo(pzErrMsg, 0) }); | 37 | std.debug.panic("unable to load extension at path {s}, err: {s}, err message: {s}\n", .{ extension_path, err, std.mem.sliceTo(pzErrMsg, 0) }); |
| 38 | } | 38 | } |
| 39 | } | 39 | } |
| 40 | 40 | ||