summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_conf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 1fc07e12fa..6fc03bfd86 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -229,9 +229,10 @@ static WERROR import_process_service(struct net_context *c,
service->param_names[idx],
service->param_values[idx]);
if (!W_ERROR_IS_OK(werr)) {
- d_printf("Error in section [%s], parameter \"%s\": %s\n",
- service->name, service->param_names[idx],
- win_errstr(werr));
+ d_fprintf(stderr,
+ _("Error in section [%s], parameter \"%s\": %s\n"),
+ service->name, service->param_names[idx],
+ win_errstr(werr));
goto done;
}
}