summaryrefslogtreecommitdiff
path: root/source3/utils/dbwrap_tool.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/dbwrap_tool.c')
-rw-r--r--source3/utils/dbwrap_tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/dbwrap_tool.c b/source3/utils/dbwrap_tool.c
index c9d88a30e5..677a9adeb4 100644
--- a/source3/utils/dbwrap_tool.c
+++ b/source3/utils/dbwrap_tool.c
@@ -41,7 +41,7 @@ static int dbwrap_tool_fetch_int32(struct db_context *db,
int32_t value;
NTSTATUS status;
- status = dbwrap_fetch_int32(db, keyname, &value);
+ status = dbwrap_fetch_int32_bystring(db, keyname, &value);
if (!NT_STATUS_IS_OK(status)) {
d_printf("Error fetching int32 from key '%s': %s\n",
keyname, nt_errstr(status));