summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/docbook/devdoc/vfs.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/docbook/devdoc/vfs.xml b/docs/docbook/devdoc/vfs.xml
index 966db9583a..ed2afef53e 100644
--- a/docs/docbook/devdoc/vfs.xml
+++ b/docs/docbook/devdoc/vfs.xml
@@ -671,7 +671,7 @@ static int example_connect(vfs_handle_struct *handle,
}
/* init out private data */
- data->some_string = strdup(conn->mem_ctx,"test");
+ data->some_string = strdup("test");
if (!data->some_string) {
DEBUG(0,("strdup() failed\n"));
return -1;