summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-04-11 14:52:52 +0200
committerMichael Adam <obnox@samba.org>2011-05-10 19:13:21 +0200
commit9f9711490ae743493722c997e316a31600ef02d6 (patch)
treea99b9b9e28f129fcf9e74e0a0d2b5b969c389e8c /source3/utils
parente19c4f278b5467327df7a90256802382c7999414 (diff)
downloadsamba-9f9711490ae743493722c997e316a31600ef02d6.tar.gz
samba-9f9711490ae743493722c997e316a31600ef02d6.tar.bz2
samba-9f9711490ae743493722c997e316a31600ef02d6.zip
libsmbconf: Convert smbconf_get_includes() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_conf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index bee8dd2a19..d3c39fdb74 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -1014,7 +1014,7 @@ static int net_conf_getincludes(struct net_context *c,
struct smbconf_ctx *conf_ctx,
int argc, const char **argv)
{
- WERROR werr;
+ sbcErr err;
uint32_t num_includes;
uint32_t count;
char *service;
@@ -1033,10 +1033,10 @@ static int net_conf_getincludes(struct net_context *c,
goto done;
}
- werr = smbconf_get_includes(conf_ctx, mem_ctx, service,
+ err = smbconf_get_includes(conf_ctx, mem_ctx, service,
&num_includes, &includes);
- if (!W_ERROR_IS_OK(werr)) {
- d_printf(_("error getting includes: %s\n"), win_errstr(werr));
+ if (!SBC_ERROR_IS_OK(err)) {
+ d_printf(_("error getting includes: %s\n"), sbcErrorString(err));
goto done;
}