summaryrefslogtreecommitdiff
path: root/source3/utils/net_ads.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_ads.c')
-rw-r--r--source3/utils/net_ads.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 72f70532b7..345fc5c3db 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -23,7 +23,7 @@
#ifdef HAVE_ADS
-int net_ads_usage(void)
+int net_ads_usage(int argc, const char **argv)
{
d_printf(
"\nnet ads join"\
@@ -208,7 +208,7 @@ int net_ads(int argc, const char **argv)
#else
-int net_ads_usage(void)
+int net_ads_usage(int argc, const char **argv)
{
d_printf("ADS support not compiled in\n");
return -1;
@@ -216,7 +216,7 @@ int net_ads_usage(void)
int net_ads(int argc, const char **argv)
{
- return net_ads_usage();
+ return net_ads_usage(argc, argv);
}
#endif