summaryrefslogtreecommitdiff
path: root/source3/torture/vfstest.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/vfstest.c')
-rw-r--r--source3/torture/vfstest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c
index 3b0ec54564..3ebe63ee53 100644
--- a/source3/torture/vfstest.c
+++ b/source3/torture/vfstest.c
@@ -188,7 +188,7 @@ static NTSTATUS cmd_debuglevel(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int a
}
if (argc == 2) {
- DEBUGLEVEL = atoi(argv[1]);
+ lp_set_cmdline("log level", argv[1]);
}
printf("debuglevel is %d\n", DEBUGLEVEL);