summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-01-11 15:28:24 +0100
committerGünther Deschner <gd@samba.org>2008-01-11 15:28:24 +0100
commitefcf285e27e3f52cd6188f678d52977584c78972 (patch)
treef7fc2c1169f2acf657eccab8ba1d2edf2094777b /source3/utils
parent026b2a8d0a95112dc75e5b909b57580d7d032951 (diff)
downloadsamba-efcf285e27e3f52cd6188f678d52977584c78972.tar.gz
samba-efcf285e27e3f52cd6188f678d52977584c78972.tar.bz2
samba-efcf285e27e3f52cd6188f678d52977584c78972.zip
Fix libnetapi error string callers.
Guenther (This used to be commit 1ad7a0a361edfa5ac738f011db1d6a9db256ac2c)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_dom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_dom.c b/source3/utils/net_dom.c
index 3a8338ec70..30993ae2fa 100644
--- a/source3/utils/net_dom.c
+++ b/source3/utils/net_dom.c
@@ -101,7 +101,7 @@ static int net_dom_unjoin(int argc, const char **argv)
status = NetUnjoinDomain(server_name, account, password, unjoin_flags);
if (status != 0) {
printf("Failed to unjoin domain: %s\n",
- libnetapi_errstr(ctx, status));
+ libnetapi_errstr(status));
goto done;
}
@@ -215,7 +215,7 @@ static int net_dom_join(int argc, const char **argv)
Account, password, join_flags);
if (status != 0) {
printf("Failed to join domain: %s\n",
- libnetapi_errstr(ctx, status));
+ libnetapi_errstr(status));
goto done;
}