summaryrefslogtreecommitdiff
path: root/source3/utils/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r--source3/utils/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index b1401e97ba..c298fdb461 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -313,7 +313,7 @@ static int net_maxrid(struct net_context *c, int argc, const char **argv)
}
/* main function table */
-static struct functable3 net_func[] = {
+static struct functable net_func[] = {
{
"rpc",
net_rpc,
@@ -759,7 +759,7 @@ static struct functable3 net_func[] = {
}
c->private_data = net_func;
- rc = net_run_function3(c, argc_new-1, argv_new+1, "net", net_func);
+ rc = net_run_function(c, argc_new-1, argv_new+1, "net", net_func);
DEBUG(2,("return code = %d\n", rc));